summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-06-09 11:42:15 -0700
committerTim Smith <tsmith@chef.io>2019-06-09 11:42:15 -0700
commit9de6e245f7f19b2a7456ed237bf439909e0e9804 (patch)
treed0c9392f41e9e08ab365a7fc22cf5404db286fd7 /.travis.yml
parentfd650ba4701f772ff9c7dc2f828d2acb34a1ffb2 (diff)
downloadchef-9de6e245f7f19b2a7456ed237bf439909e0e9804.tar.gz
Disable specs in Travis and dokken in BKbk
BK is having a hard time with Dokken so disable that for now, but skip all the specs in Travis since those run faster and reliably in BK Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml143
1 files changed, 0 insertions, 143 deletions
diff --git a/.travis.yml b/.travis.yml
index 24b24082d6..6904a1da75 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -34,79 +34,6 @@ env:
matrix:
include:
- - env:
- INTEGRATION_SPECS_25: 1
- rvm: 2.5.5
- sudo: true
- script: sudo -E $(which bundle) exec rake spec:integration;
- bundler_args: --without docgen integration omnibus_package --frozen
- - env:
- INTEGRATION_SPECS_26: 1
- rvm: 2.6.3
- sudo: true
- script: sudo -E $(which bundle) exec rake spec:integration;
- bundler_args: --without docgen integration omnibus_package --frozen
- - env:
- FUNCTIONAL_SPECS_25: 1
- rvm: 2.5.5
- sudo: true
- # the travis apt proxy screws with our functional testing something fierce
- script: sudo rm -f /etc/apt/apt.conf.d/99-travis-apt-proxy; sudo -E $(which bundle) exec rake spec:functional;
- bundler_args: --without docgen integration omnibus_package --frozen
- - env:
- FUNCTIONAL_SPECS_26: 1
- rvm: 2.6.3
- sudo: true
- script: sudo rm -f /etc/apt/apt.conf.d/99-travis-apt-proxy; sudo -E $(which bundle) exec rake spec:functional;
- bundler_args: --without docgen integration omnibus_package --frozen
- - env:
- UNIT_SPECS_25: 1
- rvm: 2.5.5
- sudo: true
- script:
- - sudo -E $(which bundle) exec rake spec:unit;
- - sudo -E $(which bundle) exec rake component_specs
- bundler_args: --without docgen integration omnibus_package --frozen
- - env:
- UNIT_SPECS_26: 1
- rvm: 2.6.3
- sudo: true
- script:
- - sudo -E $(which bundle) exec rake spec:unit;
- - sudo -E $(which bundle) exec rake component_specs
- bundler_args: --without docgen integration omnibus_package --frozen
- - env:
- CHEFSTYLE: 1
- rvm: 2.6.3
- script: bundle exec rake style
- # also remove integration / external tests
- bundler_args: --without docgen integration omnibus_package --frozen
- #
- # External tests
- #
- - env:
- TEST_GEM: sethvargo/chef-sugar
- script: bundle exec tasks/bin/run_external_test $TEST_GEM master rake
- rvm: 2.6.3
- - env:
- - PEDANT_OPTS=--skip-oc_id
- - TEST_GEM=chef/chef-zero
- - CHEF_FS=true
- script: bundle exec tasks/bin/run_external_test $TEST_GEM master rake pedant
- rvm: 2.6.3
- - env:
- TEST_GEM: chef/cheffish
- script: bundle exec tasks/bin/run_external_test $TEST_GEM master rake spec
- rvm: 2.6.3
- - env:
- TEST_GEM: chefspec/chefspec
- script: bundle exec tasks/bin/run_external_test $TEST_GEM master rake
- rvm: 2.6.3
- - env:
- TEST_GEM: chef/knife-windows
- script: bundle exec tasks/bin/run_external_test $TEST_GEM master rake unit_spec
- rvm: 2.6.3
- ### START TEST KITCHEN ONLY ###
- rvm: 2.5.5
services: docker
gemfile: kitchen-tests/Gemfile
@@ -301,76 +228,6 @@ matrix:
- cat /tmp/out.txt
- sudo cat /var/log/squid3/cache.log
- sudo cat /var/log/squid3/access.log
- # Use test-kitchen to launch a centos docker container to run the full rspec tests against. This catches
- # errors in travis, before PRs are merged, hopefully before they become errors in jenkins.
- - rvm: 2.5.5
- services: docker
- sudo: required
- gemfile: kitchen-tests/Gemfile
- before_install:
- - gem update --system $(grep rubygems omnibus_overrides.rb | cut -d'"' -f2)
- - gem install bundler -v $(grep :bundler omnibus_overrides.rb | cut -d'"' -f2)
- before_script:
- - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- - cd kitchen-tests
- script:
- - bundle exec kitchen test rspec-centos-7
- after_failure:
- - cat .kitchen/logs/kitchen.log
- env:
- - RSPEC_CENTOS=7
- - KITCHEN_YAML=kitchen.yml
- - rvm: 2.5.5
- services: docker
- sudo: required
- gemfile: kitchen-tests/Gemfile
- before_install:
- - gem update --system $(grep rubygems omnibus_overrides.rb | cut -d'"' -f2)
- - gem install bundler -v $(grep :bundler omnibus_overrides.rb | cut -d'"' -f2)
- before_script:
- - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- - cd kitchen-tests
- script:
- - bundle exec kitchen test rspec-opensuse-leap
- after_failure:
- - cat .kitchen/logs/kitchen.log
- env:
- - RSPEC_OPENSUSELEAP=42
- - KITCHEN_YAML=kitchen.yml
- allow_failures:
- - rvm: 2.5.5
- services: docker
- sudo: required
- gemfile: kitchen-tests/Gemfile
- before_install:
- - gem update --system $(grep rubygems omnibus_overrides.rb | cut -d'"' -f2)
- - gem install bundler -v $(grep :bundler omnibus_overrides.rb | cut -d'"' -f2)
- before_script:
- - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- - cd kitchen-tests
- script:
- - bundle exec kitchen test rspec-opensuse-leap
- after_failure:
- - cat .kitchen/logs/kitchen.log
- env:
- - RSPEC_OPENSUSELEAP=42
- - KITCHEN_YAML=kitchen.yml
- - rvm: 2.5.5
- services: docker
- gemfile: kitchen-tests/Gemfile
- before_install:
- - gem update --system $(grep rubygems omnibus_overrides.rb | cut -d'"' -f2)
- - gem install bundler -v $(grep :bundler omnibus_overrides.rb | cut -d'"' -f2)
- before_script:
- - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- - cd kitchen-tests
- script:
- - bundle exec kitchen test end-to-end-opensuse-leap
- after_failure:
- - cat .kitchen/logs/kitchen.log
- env:
- - OPENSUSELEAP=42
- - KITCHEN_YAML=kitchen.yml
notifications:
on_change: true