Miah Johnson
aa8fa96607
doesn't like the ~>
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:46:22 -07:00
Miah Johnson
dd2efa0d14
Ensure Rubygems is at least version 3.0
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:46:22 -07:00
Miah Johnson
5a18457692
All the kitchen gems are in integration group, we need this..
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:45:39 -07:00
Miah Johnson
f3720c2324
Don't update rubygems system before installing rubygems
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:45:39 -07:00
Miah Johnson
bedb7d11b3
Run all the tests.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:45:39 -07:00
Miah Johnson
5d7c7502ab
travis lint cleanup
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:44:18 -07:00
Miah Johnson
bd73fc58e5
remove test
from the rake command
...
Sort the ci coverage job, maybe we can match without the script: as
well?
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:44:18 -07:00
Miah Johnson
54b268f195
coverage should be slow=1 now!
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:41:57 -07:00
Miah Johnson
4cde738f7a
Remove a un-needed linux build, make coverage SLOW=1
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:41:57 -07:00
Miah Johnson
2b022e30d2
Exclude osx coverage build
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:41:57 -07:00
Miah Johnson
e494136f45
unsure if this works..
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:41:57 -07:00
Miah Johnson
6a2dd21494
Must define the env at top level or it won't join matrix.
...
Also enable fast finish so we don't wait on allowed fails before
returning build status.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:41:57 -07:00
Miah Johnson
0eed0f04b2
Linux is default, but if its not listed in OS only osx will be tested.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:41:57 -07:00
Miah Johnson
a9db7e4fe6
Remove windows, it doesnt support ruby yet :(
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:41:57 -07:00
Miah Johnson
cfa4682983
Remove all old deploy stuff
...
Sort Ruby newest to oldest, this lets jobs in the matrix automatically
set the newest.
Add coverage job that is allowed to fail.
Add Mac and Windows testing. (curious)
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:40:53 -07:00
Ryan Davis
b3dccea4d5
Add maintainer branches to travis.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-05 22:35:47 -07:00
Ryan Davis
ec803f07e0
Fixed syntax error in .travis.yml
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-29 16:22:39 -07:00
Miah Johnson
546b1084f7
Cache the .rvm directory in travis
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-28 15:39:49 -07:00
Ryan Davis
84fd8af96a
Added SLOW=1 env var to run slow installer tests, otherwise skipped
...
+ Added SLOW=1 to appveyor (I hope?) and travis.
+ Off by default.
Speeds up installer tests from ~5.5 seconds to ~0.5 seconds.
Once this is established, we can push this up to the main helper and
generalize if it works out for us.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-17 02:26:07 -07:00
Tim Smith
9930e8d05d
Test on Ruby 2.6.3 in Travis
...
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-05-15 14:51:08 -07:00
Tim Smith
02d2751971
Add Debian 10 testing to Kitchen / Travis
...
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-05-15 14:41:29 -07:00
Tim Smith
b095e2192e
Make sure we test on Ruby 2.6
...
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-25 11:14:27 -04:00
Tim Smith
00ce6c02df
Require Ruby 2.4 or later
...
Ruby 2.3 is no longer supported. Drop this release from InSpec and
instead support the 3 latest Ruby releases.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-16 21:19:40 -07:00
Clinton Wolfe
46f6513884
Also test 3-stable on Travis
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-10 13:23:51 -04:00
Clinton Wolfe
19cccf0c14
Add v4 to Travis temporarily
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-08 14:23:33 -04:00
Tim Smith
2fe299c4f8
Work around strange bundler failures on Ruby 2.3
...
We should be excluding the integration group but it's trying to install berkshelf no matter what. 🤷
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 22:59:18 -08:00
Tim Smith
0cbd8ce705
Move the issue template to the .github directory
...
No need for this in the root
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 22:50:30 -08:00
Tim Smith
d7b6e0a7f3
Name the test/lint tests in Travis
...
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 22:44:51 -08:00
Tim Smith
34e105fb59
Shuffle around where we define the bundler args
...
The group exclusions weren't getting applied at the top level like one
might assume.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 22:19:26 -08:00
Tim Smith
8fcef84820
Actually disable 2.6 testing for now
...
It very much does not work atm
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 20:54:00 -08:00
Tim Smith
4628a12401
Switch the travis test to Xenial and add Ruby 2.6.1
...
We'll be shipping on Ruby 2.6.1 soon so we should test it.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 20:47:21 -08:00
Tim Smith
79a45d0f3b
Swap Fedora 24 for Fedora 29 in Travis
...
Fedora 24 is way EOL
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 18:14:02 -08:00
Tim Smith
0a1fb48b4e
Switch CentOS / Ubuntu to use the dokken-images containers
...
These are setup to look more like VMs and they are what should be used with dokken.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 18:03:04 -08:00
Tim Smith
b5ff949059
Update Ruby versions used for testing; fix Travis CI issues ( #3678 )
...
Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-12-20 22:17:07 -05:00
Jared Quick
39b3b7135e
Add audit-cookbook integration testing ( #3431 )
...
* Add audit integration testing.
* Add some docs and feedback changes.
* Updated integration task to use paramaters and clean it up.
* Fix unit test
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-25 15:53:26 -04:00
Jared Quick
4e54475cec
Fix tests for ruby 2.5 ( #3125 )
...
Signed-off-by: Jared Quick <jquick@chef.io>
2018-06-11 11:25:16 -04:00
Julian C. Dunn
153fd7182d
Now that release-2.0 has merged into master you don't need to test it anymore! ( #2718 )
...
Signed-off-by: Julian C. Dunn <jdunn@chef.io>
2018-02-21 16:45:29 -08:00
Miah Johnson
ecbede56fa
Ruby 2.5.0 is released and stable we need to start testing ( #2604 )
...
Add Ruby 2.5.0 to test matrix
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2018-02-13 12:39:47 -05:00
Jerry Aldrich
3fd25e2ac3
Add release-2.0
target branch to AppVeyor/Travis ( #2510 )
...
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-02-07 16:00:17 -05:00
Jared Quick
7d26674754
Remove the force uninstall bundler from travis. ( #2533 )
...
Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-06 15:09:52 +01:00
Adam Leff
c1f57d9875
Bump Omnibus Ruby (and Travis Rubies) to 2.4.3 ( #2452 )
...
Addresses CVE-2017-17405.
Signed-off-by: Adam Leff <adam@leff.co>
2018-01-16 14:28:19 -08:00
Adam Leff
ff5dbb79cb
Fixing Travis tests due to rvm/bundle issues ( #2421 )
...
Signed-off-by: Adam Leff <adam@leff.co>
2017-12-21 22:36:22 -05:00
Adam Leff
9ca69787d5
Split unit tests from functional ( #2391 )
...
Functional tests can sometimes be picky. Moving them to their own
matrix item so they're smaller and faster to re-run if needed.
Signed-off-by: Adam Leff <adam@leff.co>
2017-12-12 17:28:46 +01:00
Adam Leff
f05e22ad33
Require Ruby 2.3 and later ( #2293 )
...
* Require Ruby 2.3 and later
Ruby 2.1 is EOL, and Ruby 2.2 is on security fixes only. This moves
InSpec to support the current "normal maintenance" versions of Ruby
like Chef does and also bumps the versions used in Travis tests.
Signed-off-by: Adam Leff <adam@leff.co>
* Remove Ruby 2.2 from appveyor
Signed-off-by: Adam Leff <adam@leff.co>
2017-11-16 22:02:35 +07:00
Adam Leff
8b8d240fe6
Remove test/resources directory, update README ( #2124 )
...
* Remove test/resources directory, update README
The test/resources directory is stale and no longer used. Rather, we
favor Test Kitchen-backed integration tests in test/integration.
This change removes the stale tests and updates the README accordingly.
Signed-off-by: Adam Leff <adam@leff.co>
* Remove resources tests from travis
Signed-off-by: Adam Leff <adam@leff.co>
2017-09-06 12:05:25 +02:00
Adam Leff
a8bc555214
Add slack notifications for Travis CI builds to master ( #2092 )
...
Signed-off-by: Adam Leff <adam@leff.co>
2017-08-21 23:40:36 +02:00
Dominik Richter
f3d182a2ed
update minimum ruby from 2.1 -> 2.2, add 2.4 ( #2029 )
...
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2017-07-24 11:19:53 -04:00
Adam Leff
631424d305
Fix travis config for web acceptance environment
...
I must've been dealing with some fun travis caching because
after my last change was merged, this travis job disappeared.
The .travis.yml config I used was wrong... this should do it.
Signed-off-by: Adam Leff <adam@leff.co>
2017-05-04 17:41:50 -04:00
Adam Leff
bcac449547
Ignore web acceptance travis errors
...
The website acceptance job in Travis will fail for non-chef-github
users because we use encrypted environment variables. This job
should never hold up an accepted PR, so I'm moving it to the
allowed_failures section.
Signed-off-by: Adam Leff <adam@leff.co>
2017-05-04 16:24:37 -04:00
Adam Leff
8693749eef
Move CI scripts directory
...
Per PR feedback, moving the CI scripts directory from the repo root.
Signed-off-by: Adam Leff <adam@leff.co>
2017-04-12 10:10:36 -04:00