summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-07-24 14:30:27 -0700
committerClaire McQuin <claire@getchef.com>2014-08-12 08:39:02 -0700
commit72e4e23e2303e85a28f5e52d40c4d5e19e14423c (patch)
tree4663e797afd303ab85de7109fe6cdee3695480ff /.travis.yml
parentf71cb384f3bbdca9093af76830b8ae3949d54c4e (diff)
downloadchef-72e4e23e2303e85a28f5e52d40c4d5e19e14423c.tar.gz
Enable Travis to run Test Kitchen on EC2.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml71
1 files changed, 57 insertions, 14 deletions
diff --git a/.travis.yml b/.travis.yml
index f1146a4aaa..eb0569ab8c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,26 +8,69 @@
#
# This workaround should be removed when that fix is released.
before_install:
- - gem update --system 2.1.11
- - gem --version
-
-matrix:
- include:
- - rvm: 1.9.3
- - rvm: 2.0.0
- - rvm: 2.1.1
- - rvm: 2.1.1
- gemfile: pedant.gemfile
- script: bundle exec rake pedant
+- gem update --system 2.1.11
+- gem --version
branches:
only:
- - master
- - 10-stable
- - 11-stable
+ - master
+ - 10-stable
+ - 11-stable
script: bundle exec rspec --color --format progress
+matrix:
+ include:
+ - rvm: 1.9.3
+ - rvm: 2.0.0
+ - rvm: 2.1.1
+ - rvm: 2.1.1
+ gemfile: pedant.gemfile
+ script: bundle exec rake pedant
+ - rvm: 2.1.1
+ gemfile: spec/e2e/Gemfile
+ before_install:
+ - echo -n $DO_KEY_CHUNK_{0..30} >> ~/$EC2_SSH_KEY_PATH.base64
+ - cat ~/.ssh/id_aws.base64 | tr -d ' ' | base64 --decode > ~/$EC2_SSH_KEY_PATH
+ before_script: cd spec/e2e
+ script:
+ - bundle exec kitchen test
+ after_script:
+ - bundle exec kitchen destroy
+ env:
+ - KITCHEN_YAML=.kitchen.travis.yml
+ - secure: L7Hk8f0z27derGnZAkli9IEuRjQvg8n2hah/LkqH9QkRkHaIpCJHgjXB2HhDp81adw0WhCU4IztxWhrK/rgWJDpZ6b3M6PTJqxntRKBw5Ur4ut0q5cLPfPrTm4FHxrNssLIOmKzMK8DEEovPAvLmv5P3av5P45icAi18rSBCGlo=
+ - secure: E8jvV+B/L7lUOzEfZyOkbB3Lb1LNQrY4bwu5Z2jm4PzJVh7FtdkL9J9avrHSyRR7acHRCWaILEErESFZ+Z3pBeDqpI3g8nJ0OwPSSs9bUXzrweTyJH+gSeVbIa1hOOMuseauyyVpQlIUpgmINCSbZTvl6VUqTiylyHOsEctQ9LI=
+ - secure: Uf8yKCRuhBEob4B8PCL571n9yevrb5vlJ24yHZvA398po3GqQt1ovrWpxyPP/F7SjkEe3D+iElI8W4Sax5EiFF+xfvVHDQzMXFKuMTc3xxmyBt/ryGfNXyP5VHH7Qu1fI76yAr0UexPV45mp7QVgQ8saIfsaHbe3puNwuygBwzM=
+ - secure: L/PSaeWToJkyDbPiP4A8Ck0MlzVAqc/HaG9k4+AHY5DUKJYfSbweP53jIhf8uSPAOSAOATfc7P39/62JrWWevBnnkHzVoZQyVGxK81NC+CwSNCuBJNn6a6qqjb366iuRVG2Elt310G5126lH0wXdcFXxfs95sK4jE5LYoAQJdjY=
+ - secure: KHkN5nVVo6RM++vJBAMXoXSffAs+wRhVRpmY7CWF4SArIApDXaRtIPxRotijgSX+kXNgarLK50ek62zDHqMyzDX4sbrDOs3AwtrGvYevggSPQMxeo40H+ZCFQASVMrI1REuJmJXMFfZCL8iWXuvSzFNUcQYdibRx51QLG+pFuwI=
+ - secure: eO7qdXF1NyqH/hucUWMbD8WofUxTFu/IvM46OjZqFjTWyYAoogd5kfzTPqcJIT0nXb1LQbHO4xIsrR86ooGCvZOcU/gs53tIKEkFO0NpoZa+i4k1qfFMBuCXDXxMoDmkupxfWf0De19/aK9OUReT8HSqnVTezC7vwRF149vnWn8=
+ - secure: PemN8I3n9NFI9KNQrXnPDZ14r3H0KJZR30Sk1cYYaeV8fUt3HUDLstLrjE2vSPaof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c89zigUQOeJFN2abFVT+8O43plhwirbLRmuZEjKPOk7XpcLSMgoVsfT6raZn8bvMug4wYVSquoQ8WN8rWqjlN2QPFTN/2Q0vS/ZM=
+
notifications:
on_success: change
on_failure: always