Skip to content

Commit

Permalink
Update CI Stacks (#345)
Browse files Browse the repository at this point in the history
* Update Linux jobs to Xenial

* Update OSX to xcode10.2

* Update Ruby 2.3 to 2.3.8

* Update Ruby to 2.4.5 on OSX

* Specify patch release of Ruby 2.6

* Combine test stages

This change will use the Travis CI account capacity more efficiently.

* Swap Terraform versions of Ubuntu, Windows

Terraform 0.11.14 may provide some performance enhancements which may
reduce the length of the Windows builds.
  • Loading branch information
aaron-lane authored May 25, 2019
1 parent d145ac4 commit 7628cb7
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ notifications:
- https://webhooks.gitter.im/e/3a11f6fb1385c5cdb12b
jobs:
include:
- stage: Unit Tests
name: Ruby 2.3 on Ubuntu
dist: trusty
- stage: Tests
name: Unit Tests with Ruby 2.3 on Ubuntu
dist: xenial
language: ruby
rvm: 2.3.4
rvm: 2.3.8
before_install:
- gem install bundler --conservative --minimal-deps --no-document --version="~>
2.0"
Expand All @@ -26,16 +26,16 @@ jobs:
cache:
directories:
- ruby-2.3/vendor/bundle
- name: Ruby 2.4 with Code Climate on Ubuntu
dist: trusty
- name: Unit Tests with Ruby 2.5 and Code Climate on Ubuntu
dist: xenial
language: ruby
rvm: 2.4.1
rvm: 2.5.3
env:
- CC_TEST_REPORTER_ID=7574433e1beed630cb9a171c688bb9e010d5028f00f7218d6e845fe138c65168
before_install:
- gem install bundler --conservative --minimal-deps --no-document --version="~>
2.0"
- bundle config --local gemfile ruby-2.4/Gemfile
- bundle config --local gemfile ruby-2.5/Gemfile
- bundle config --local deployment true
- bundle config --local jobs $(nproc --ignore=1)
- bundle config --local without backend_ssh
Expand All @@ -51,11 +51,11 @@ jobs:
after_script: "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
cache:
directories:
- ruby-2.4/vendor/bundle
- name: Ruby 2.6 on Ubuntu
dist: trusty
- ruby-2.5/vendor/bundle
- name: Unit Tests with Ruby 2.6 on Ubuntu
dist: xenial
language: ruby
rvm: "2.6"
rvm: 2.6.3
before_install:
- gem install bundler --conservative --minimal-deps --no-document --version="~>
2.0"
Expand All @@ -70,25 +70,24 @@ jobs:
cache:
directories:
- ruby-2.6/vendor/bundle
- stage: Integration Tests
name: Terraform 0.11.14 on Ubuntu
dist: trusty
- name: Integration Tests with Terraform 0.11.4 on Ubuntu
dist: xenial
language: ruby
rvm: 2.4.1
rvm: 2.5.3
services:
- docker
before_install:
- gem install bundler --conservative --minimal-deps --no-document --version="~>
2.0"
- bundle config --local gemfile ruby-2.4/Gemfile
- bundle config --local gemfile ruby-2.5/Gemfile
- bundle config --local deployment true
- bundle config --local jobs $(nproc --ignore=1)
- bundle config --local without development
install:
- bundle install
- curl --remote-name --silent https://releases.hashicorp.com/terraform/0.11.14/terraform_0.11.14_linux_amd64.zip
- sha256sum terraform_0.11.14_linux_amd64.zip | grep 9b9a4492738c69077b079e595f5b2a9ef1bc4e8fb5596610f69a6f322a8af8dd
- unzip terraform_0.11.14_linux_amd64.zip -d "$HOME/bin"
- curl --remote-name --silent https://releases.hashicorp.com/terraform/0.11.4/terraform_0.11.4_linux_amd64.zip
- sha256sum terraform_0.11.4_linux_amd64.zip | grep 817be651ca41b999c09250a9fcade541a941afab41c0c663bd25529a4d5cfd31
- unzip terraform_0.11.4_linux_amd64.zip -d "$HOME/bin"
- curl --remote-name --silent https://releases.hashicorp.com/terraform-provider-local/1.2.2/terraform-provider-local_1.2.2_linux_amd64.zip
- sha256sum terraform-provider-local_1.2.2_linux_amd64.zip | grep 149e7fd6e51fe9f24a11d30b6034deefdece04f0272ced832a6803d1e2bfa37d
- unzip terraform-provider-local_1.2.2_linux_amd64.zip -d test/terraform/Plug\
Expand All @@ -103,11 +102,12 @@ jobs:
- bundle exec rake test:kitchen:workspaces-linux
cache:
directories:
- ruby-2.4/vendor/bundle
- name: Terraform 0.12.0 with Terragrunt 0.18.6 on MacOS
- ruby-2.5/vendor/bundle
- name: Integration Tests with Terraform 0.12.0 and Terragrunt 0.18.6 on MacOS
os: osx
osx_image: xcode10.2
language: ruby
rvm: 2.4.3
rvm: 2.4.5
before_install:
- gem install bundler --conservative --minimal-deps --no-document --version="~>
2.0"
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
cache:
directories:
- ruby-2.4/vendor/bundle
- name: Terraform 0.11.4 on Windows
- name: Integration Tests with Terraform 0.11.14 on Windows
os: windows
language: shell
before_install:
Expand All @@ -146,9 +146,9 @@ jobs:
- bundle config --local without backend_ssh:development
install:
- bundle install
- curl --remote-name --silent https://releases.hashicorp.com/terraform/0.11.4/terraform_0.11.4_windows_amd64.zip
- sha256sum terraform_0.11.4_windows_amd64.zip | grep a762b329798b872f44df3b5db33122469a3cf1ad28c1915fee17605ec8245508
- unzip terraform_0.11.4_windows_amd64.zip
- curl --remote-name --silent https://releases.hashicorp.com/terraform/0.11.14/terraform_0.11.14_windows_amd64.zip
- sha256sum terraform_0.11.14_windows_amd64.zip | grep bfec66e2ad079a1fab6101c19617a82ef79357dc1b92ddca80901bb8d5312dc0
- unzip terraform_0.11.14_windows_amd64.zip
- curl --remote-name --silent https://releases.hashicorp.com/terraform-provider-local/1.2.2/terraform-provider-local_1.2.2_windows_amd64.zip
- sha256sum terraform-provider-local_1.2.2_windows_amd64.zip | grep 109262576075cd1ccf77079497beab27de5051bb9ed3a07760a8400c4ef54925
- unzip terraform-provider-local_1.2.2_windows_amd64.zip -d test/terraform/Plug\
Expand All @@ -162,9 +162,9 @@ jobs:
directories:
- ruby-2.5/vendor/bundle
- stage: Deploy to RubyGems
dist: trusty
dist: xenial
language: ruby
rvm: 2.4.1
rvm: 2.5.3
env:
- secure: WUn5OAyb8Y2F0myhs0ZEq5lg1yI7fvJVqFxSU/7BhoV7OTVNxJkUbCf0XNjgr8LQjAu/awVuLZfDncytbinqy/k8UOQqZpsdQXmHU+FsYnEVTcRGnI24NQzkPof3PI1cTjJAAXfYhoF04hGtNFxUHR3dMFXY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YssZRazw2qXsw/d3PNhx23BN4hLvOdRK2tHDtPSRBvC6n63SoQXeuXLbc0Ezkw3NWvN657CUJzOWvA2d1OKysggr9UlQ9CnF5ZHhy7zXy288q8fyQTO4fRwCpvwgexo=
Expand Down

0 comments on commit 7628cb7

Please sign in to comment.