Merge pull request #30252 from rails/activestorage-service-ci
Run Active Storage service tests in CI
This commit is contained in:
commit
160473a1a6
@ -22,12 +22,12 @@ before_install:
|
||||
- "gem update bundler"
|
||||
- "[ -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"
|
||||
- "[[ -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"
|
||||
- "[[ $GEM != 'av:ujs' ]] || nvm install node"
|
||||
- "[[ $GEM != 'av:ujs' ]] || node --version"
|
||||
- "[[ $GEM != 'av:ujs' ]] || (cd actionview && npm install)"
|
||||
- "[[ $GEM != 'av:ujs' ]] || [[ $(phantomjs --version) > '2' ]] || npm install -g phantomjs-prebuilt"
|
||||
|
||||
|
||||
before_script:
|
||||
# Set Sauce Labs username and access key. Obfuscated, purposefully not encrypted.
|
||||
# Decodes to e.g. `export VARIABLE=VALUE`
|
||||
@ -40,8 +40,6 @@ script: 'ci/travis.rb'
|
||||
env:
|
||||
global:
|
||||
- "JRUBY_OPTS='--dev -J-Xmx1024M'"
|
||||
- "AWS_ACCESS_KEY_ID=AKIAIDIA2E7SSMYGNB7A"
|
||||
- secure: "XohvFnYff1yf8qlawCujI+CIqHK08KOw34pPprd4QYuG0SJCzBdNN7efBBj5gLX1PI6DwkDLNv51Oi31xPh7yJFuzRAkB0FPdyKM7UyYZ7BMaTqx8LVC89lZJ8VIu19kDP/8sdOm0HN/huOM5kO3jZJFLpi2Tj313TjmzWZFPq0="
|
||||
matrix:
|
||||
- "GEM=railties"
|
||||
- "GEM=ap,ac"
|
||||
|
BIN
activestorage/test/service/configurations.yml.enc
Normal file
BIN
activestorage/test/service/configurations.yml.enc
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user