-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
37 lines (29 loc) · 910 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
language: ruby
cache: bundler
bundler_args: --no-deployment --binstubs=./bin
before_install:
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
- rvm rubygems current
- gem update --system || true
- gem --version
- gem install bundler -v '2.2.11'
- export MY_BUNDLER_VERSION="_2.2.11_"
- bundle ${MY_BUNDLER_VERSION} --version
install:
- bundle ${MY_BUNDLER_VERSION} config --local path vendor/bundle
- bundle ${MY_BUNDLER_VERSION} config --local jobs 3
- bundle ${MY_BUNDLER_VERSION} config --local retry 3
- bundle ${MY_BUNDLER_VERSION} config --local binstubs ./bin
- bundle ${MY_BUNDLER_VERSION} config --local bin ./bin
- bundle ${MY_BUNDLER_VERSION} install
- gem env
- bundle ${MY_BUNDLER_VERSION} env
script:
- echo $BUNDLE_GEMFILE
- bundle ${MY_BUNDLER_VERSION} exec rake
rvm:
- 3.0.0
env:
- RAILS_ENV=test RACK_ENV=test APP_ENV=test
notifications:
email: false