-
Notifications
You must be signed in to change notification settings - Fork 121
/
.travis.yml
32 lines (29 loc) · 1.1 KB
/
.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
sudo: false
language: ruby
cache: bundler
branches:
only:
- master
rvm:
- 2.4.4
env:
global:
# encrypted with `travis encrypt "AWS_ACCESS_KEY_ID=... AWS_SECRET_ACCESS_KEY=..."`
- secure: D/GQrYonTbI4DfzKStcy72gsPvC41Y6ozVkEacmAlN6hXnZX19/cg6eNm24mtxrA0OV/bh0E8aFcRpyFL579UkpbzfEgHQZhRUtP6gOT9SS5QlyqUODXR8LwRKUvTLddtgCWRLj3G9rB3vmzMKy9O0yTYiVJT8EWGm1Itp/zPOM=
matrix:
- RAKE_TASK=chefstyle
- RAKE_TASK=spec
# We run the tests in different environments so they don't try to overwrite each other (deleting, creating the same VPC)
# If we need to we can get rid of this but its nice for speed
- RAKE_TASK="travis[integration]" AWS_TRAVIS_DRIVER=aws::us-west-2
- RAKE_TASK="travis[super_slow]" AWS_TRAVIS_DRIVER=aws::us-west-1
# machine_image is a special snowflake - they take so long to run we need to give them their own builder
- RAKE_TASK="machine_image" AWS_TRAVIS_DRIVER=aws::eu-west-1
bundler_args: --jobs 7 --without docs debug
before_script:
- mkdir -p /home/travis/.chef
- . ./tools/travis_env.sh
script:
- bundle update
- bundle exec rake build
- bundle exec rake $RAKE_TASK