2014-08-28 07:59:16 +08:00
|
|
|
language: ruby
|
2014-12-19 04:09:58 +08:00
|
|
|
sudo: false
|
2016-04-19 15:15:16 +08:00
|
|
|
|
|
|
|
cache:
|
|
|
|
bundler: true
|
|
|
|
directories:
|
|
|
|
- /tmp/cache/unicode_conformance
|
|
|
|
- /tmp/beanstalkd-1.10
|
2017-02-22 02:41:17 +08:00
|
|
|
- node_modules
|
|
|
|
- $HOME/.nvm
|
2016-04-19 15:15:16 +08:00
|
|
|
|
|
|
|
services:
|
|
|
|
- memcached
|
2017-11-13 15:55:06 +08:00
|
|
|
- redis-server
|
2016-04-19 15:15:16 +08:00
|
|
|
|
|
|
|
addons:
|
2017-09-02 01:18:09 +08:00
|
|
|
postgresql: "9.6"
|
2017-10-20 00:01:52 +08:00
|
|
|
chrome: stable
|
2017-09-29 04:43:37 +08:00
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- sourceline: "ppa:mc3man/trusty-media"
|
|
|
|
- sourceline: "ppa:ubuntuhandbook1/apps"
|
2017-12-12 23:31:15 +08:00
|
|
|
packages:
|
|
|
|
- ffmpeg
|
|
|
|
- mupdf
|
|
|
|
- mupdf-tools
|
2016-04-19 15:15:16 +08:00
|
|
|
|
|
|
|
bundler_args: --without test --jobs 3 --retry 3
|
2012-03-10 05:19:55 +08:00
|
|
|
before_install:
|
2015-02-19 00:30:25 +08:00
|
|
|
- "rm ${BUNDLE_GEMFILE}.lock"
|
2017-12-22 16:20:30 +08:00
|
|
|
- "travis_retry gem update --system 2.6.14"
|
2017-11-01 08:25:36 +08:00
|
|
|
- "travis_retry gem install bundler -v 1.15.4"
|
2016-04-19 15:15:16 +08:00
|
|
|
- "[ -f /tmp/beanstalkd-1.10/Makefile ] || (curl -L https://github.com/kr/beanstalkd/archive/v1.10.tar.gz | tar xz -C /tmp)"
|
|
|
|
- "pushd /tmp/beanstalkd-1.10 && make && (./beanstalkd &); popd"
|
2017-08-14 23:43:46 +08:00
|
|
|
- "[[ -z $encrypted_8a915ebdd931_key && -z $encrypted_8a915ebdd931_iv ]] || openssl aes-256-cbc -K $encrypted_8a915ebdd931_key -iv $encrypted_8a915ebdd931_iv -in activestorage/test/service/configurations.yml.enc -out activestorage/test/service/configurations.yml -d"
|
2017-02-22 02:41:17 +08:00
|
|
|
- "[[ $GEM != 'av:ujs' ]] || nvm install node"
|
|
|
|
- "[[ $GEM != 'av:ujs' ]] || node --version"
|
|
|
|
- "[[ $GEM != 'av:ujs' ]] || (cd actionview && npm install)"
|
|
|
|
|
2014-12-19 04:09:58 +08:00
|
|
|
before_script:
|
2016-05-10 03:42:28 +08:00
|
|
|
# Set Sauce Labs username and access key. Obfuscated, purposefully not encrypted.
|
|
|
|
# Decodes to e.g. `export VARIABLE=VALUE`
|
|
|
|
- $(base64 --decode <<< "ZXhwb3J0IFNBVUNFX0FDQ0VTU19LRVk9YTAzNTM0M2YtZTkyMi00MGIzLWFhM2MtMDZiM2VhNjM1YzQ4")
|
|
|
|
- $(base64 --decode <<< "ZXhwb3J0IFNBVUNFX1VTRVJOQU1FPXJ1YnlvbnJhaWxz")
|
|
|
|
|
2016-04-19 15:15:16 +08:00
|
|
|
script: 'ci/travis.rb'
|
|
|
|
|
2011-07-15 15:48:10 +08:00
|
|
|
env:
|
2016-11-17 09:27:34 +08:00
|
|
|
global:
|
|
|
|
- "JRUBY_OPTS='--dev -J-Xmx1024M'"
|
2014-08-21 21:57:27 +08:00
|
|
|
matrix:
|
|
|
|
- "GEM=railties"
|
2016-12-24 23:01:44 +08:00
|
|
|
- "GEM=ap,ac"
|
2017-08-11 03:58:30 +08:00
|
|
|
- "GEM=am,amo,as,av,aj,ast"
|
2016-04-28 14:59:32 +08:00
|
|
|
- "GEM=as PRESERVE_TIMEZONES=1"
|
2014-08-21 21:57:27 +08:00
|
|
|
- "GEM=ar:mysql2"
|
|
|
|
- "GEM=ar:sqlite3"
|
|
|
|
- "GEM=ar:postgresql"
|
2015-06-06 04:28:11 +08:00
|
|
|
- "GEM=guides"
|
2016-12-24 23:01:44 +08:00
|
|
|
- "GEM=ac:integration"
|
2016-04-19 15:15:16 +08:00
|
|
|
|
2014-10-13 19:42:27 +08:00
|
|
|
rvm:
|
2017-09-15 02:12:45 +08:00
|
|
|
- 2.2.8
|
|
|
|
- 2.3.5
|
|
|
|
- 2.4.2
|
2014-10-13 19:42:27 +08:00
|
|
|
- ruby-head
|
2016-04-19 15:15:16 +08:00
|
|
|
|
2013-08-02 02:20:05 +08:00
|
|
|
matrix:
|
2016-02-06 01:31:18 +08:00
|
|
|
include:
|
2017-09-15 02:12:45 +08:00
|
|
|
- rvm: 2.4.2
|
2017-02-22 02:41:17 +08:00
|
|
|
env: "GEM=av:ujs"
|
2017-09-15 02:12:45 +08:00
|
|
|
- rvm: 2.2.8
|
2016-11-27 14:33:15 +08:00
|
|
|
env: "GEM=aj:integration"
|
|
|
|
services:
|
|
|
|
- memcached
|
2017-11-13 17:06:34 +08:00
|
|
|
- redis-server
|
2016-11-27 14:33:15 +08:00
|
|
|
- rabbitmq
|
2017-09-15 02:12:45 +08:00
|
|
|
- rvm: 2.3.5
|
2016-11-27 14:33:15 +08:00
|
|
|
env: "GEM=aj:integration"
|
|
|
|
services:
|
|
|
|
- memcached
|
2017-11-13 17:06:34 +08:00
|
|
|
- redis-server
|
2016-11-27 14:33:15 +08:00
|
|
|
- rabbitmq
|
2017-09-15 02:12:45 +08:00
|
|
|
- rvm: 2.4.2
|
2017-01-27 12:42:25 +08:00
|
|
|
env: "GEM=aj:integration"
|
|
|
|
services:
|
|
|
|
- memcached
|
2017-11-13 17:06:34 +08:00
|
|
|
- redis-server
|
2017-01-27 12:42:25 +08:00
|
|
|
- rabbitmq
|
2016-11-27 14:33:15 +08:00
|
|
|
- rvm: ruby-head
|
|
|
|
env: "GEM=aj:integration"
|
|
|
|
services:
|
|
|
|
- memcached
|
2017-11-13 17:06:34 +08:00
|
|
|
- redis-server
|
2016-11-27 14:33:15 +08:00
|
|
|
- rabbitmq
|
2017-09-15 02:12:45 +08:00
|
|
|
- rvm: 2.3.5
|
2016-04-12 21:49:21 +08:00
|
|
|
env:
|
2016-11-27 14:33:15 +08:00
|
|
|
- "GEM=ar:mysql2 MYSQL=mariadb"
|
2016-04-12 21:49:21 +08:00
|
|
|
addons:
|
2017-07-19 22:27:42 +08:00
|
|
|
mariadb: 10.2
|
2017-09-15 02:12:45 +08:00
|
|
|
- rvm: 2.3.5
|
2017-02-01 00:23:13 +08:00
|
|
|
env:
|
|
|
|
- "GEM=ar:sqlite3_mem"
|
2017-09-15 02:12:45 +08:00
|
|
|
- rvm: 2.3.5
|
2017-04-12 21:09:15 +08:00
|
|
|
env:
|
|
|
|
- "GEM=ar:postgresql POSTGRES=9.2"
|
|
|
|
addons:
|
|
|
|
postgresql: "9.2"
|
2017-12-09 05:27:18 +08:00
|
|
|
- rvm: jruby-9.1.15.0
|
2016-02-06 01:31:18 +08:00
|
|
|
jdk: oraclejdk8
|
|
|
|
env:
|
2016-11-17 08:50:37 +08:00
|
|
|
- "GEM=ap"
|
2017-12-09 05:27:18 +08:00
|
|
|
- rvm: jruby-9.1.15.0
|
2016-11-17 06:23:10 +08:00
|
|
|
jdk: oraclejdk8
|
|
|
|
env:
|
2017-01-23 00:51:05 +08:00
|
|
|
- "GEM=am,amo,aj"
|
2013-08-02 02:20:05 +08:00
|
|
|
allow_failures:
|
2015-12-15 09:45:25 +08:00
|
|
|
- rvm: ruby-head
|
2017-12-09 05:27:18 +08:00
|
|
|
- rvm: jruby-9.1.15.0
|
2016-12-24 23:01:44 +08:00
|
|
|
- env: "GEM=ac:integration"
|
2014-01-02 10:35:51 +08:00
|
|
|
fast_finish: true
|
2016-04-19 15:15:16 +08:00
|
|
|
|
2011-07-27 02:17:58 +08:00
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
irc:
|
2011-10-09 02:13:48 +08:00
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
channels:
|
2017-08-17 19:30:00 +08:00
|
|
|
# "irc.freenode.org#rails-contrib"
|
|
|
|
- secure: "QFKSOK7xQiWWqTzYfYm0XWoW7idzuxT57MBW9i9EASyRLEPuDwZEubKRP40Y7wPx7ylQd9lp6kJheeLnrDvvTjFbW3sWv9GDRl4WlOU8sG/Kv7MXAASXlDqzyJxxXTtzLeXz2iwY296kOBuKxKxl923eTvEGeocwH02QGo14LpQ="
|
2011-12-17 23:05:14 +08:00
|
|
|
campfire:
|
2011-12-19 07:37:05 +08:00
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
rooms:
|
2012-12-07 01:39:13 +08:00
|
|
|
- secure: "YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="
|