Matt Clay
b0e1efbd62
Add full support for Shippable CI.
2016-06-01 22:33:38 -07:00
Robin Roth
c06884eff0
Run tests on ubuntu1604 and opensuseleap ( #15936 )
...
* reduce async sleep time in test
* make zypper test less destructive (don't break following uses of zypper)
* fix ca cert on suse
* fix/enable postgres/mysql on opensuseleap
* fix mysql test for mysql versions 5.7.6 and newer
* skip sni_host check on ubuntu1604
* add HTTPTESTER flag for test_uri
ubuntu 16.04 uses dash which drops env variables containing a dot
we work around this by adding an explicit env variable to enable httptester
2016-05-31 14:47:36 -07:00
Matt Clay
b755bcd875
Corrected reference to httptester container.
2016-05-26 12:39:57 -07:00
Matt Martz
164f247ec8
Add httptester docker container files and update run_tests.sh to use ansible/httptester
2016-05-26 13:09:28 -05:00
Robin Roth
0edec45c3d
install packages for tests ( #15979 )
...
* curl is needed for test_binary_modules
* glibc-i18ndata is needed for postgresql (localedef)
2016-05-24 08:22:34 -07:00
John R Barker
1861151fa4
[WIP] Extra test and build dependencies in Docker images ( #15692 )
...
* Merge conflicts:
* [skip ci] Revert changes to run_tests.sh
gundalow will update this in a different PR
* [skip ci] Add in ubuntu1604 and opensuseleap
NOTE: We are not configuring anything to use these new images yet.
Therefore no impact on Travis performance
* python-mysql for opensuse
* It's mysql-server on centos6
2016-05-20 07:37:06 -07:00
Michael Scherer
cc61531a74
Do not test vca and vmware.py for py2.4 ( #15887 )
...
Since both of them depend on libraries not
working on python 2.4, we shouldn't restrict
ourself on 2.4, cf https://github.com/ansible/ansible/pull/15870
2016-05-16 10:51:48 -04:00
Matt Martz
accf40d8a8
Use httptester docker image for http tests ( #15811 )
...
* Use httptester docker image for http tests
* When not running with an httptester linked container, use public test sites
2016-05-10 23:43:07 -04:00
Brian Coca
2af8e3b9d8
fix default for removing images
2016-05-05 16:00:02 -04:00
Brian Coca
27a1ae4732
added ability to also subset make tests
2016-05-05 11:50:39 -04:00
Brian Coca
47d58c30e4
another var 'defaulted' in run_tests
2016-05-03 11:25:21 -04:00
Brian Coca
3669ab2456
added defaults for 'optional' vars
2016-05-03 10:38:54 -04:00
Brian Coca
52a714143f
fine tuned shell switches for run_tests.sh
2016-05-03 09:39:19 -04:00
Toshio Kuratomi
e4a1622f53
Do not check docker or azure module_utils code for py2.4 compat (the libs require py2.6+)
2016-04-26 07:21:36 -07:00
James Cammarata
d00ac6e2d1
Merge pull request #15072 from rajatguptarg/fix-requirements
...
Add pycrypto as a requirement to run tests
2016-03-26 00:39:01 -04:00
Matt Martz
a6d52ce098
Ensure that any command in run_tests.sh that fails results in immediate failure
2016-03-22 20:41:37 -05:00
James Cammarata
6afed7083a
Revert "Use docker cp instead of docker volumes to allow for testing with remote docker servers"
...
This reverts commit 18599047cd
.
2016-03-22 15:37:47 -04:00
James Cammarata
90ffb8d8f0
Also remove volumes when removing containers
2016-03-22 13:53:54 -04:00
James Cammarata
9a2c1cf94d
Force removal of docker container after test ends
2016-03-22 11:45:26 -04:00
Matt Martz
18599047cd
Use docker cp instead of docker volumes to allow for testing with remote docker servers
2016-03-22 10:54:57 -04:00
James Cammarata
081c33c451
Adding a docker pull to the run_tests.sh script
2016-03-22 09:49:19 -04:00
James Cammarata
395ff361d4
Adding acl package to all docker images
2016-03-22 07:54:13 -04:00
Rajat Gupta
dd27157b9d
Add pycrypto as a requirement to run tests
2016-03-21 21:37:18 +05:30
Matt Clay
4224c11b5f
Combine new RUN commands into one RUN command.
2016-03-20 10:48:11 -07:00
Matt Clay
da99e4e0aa
Add ssh client and server to docker containers.
...
This will allow for future integration tests using ssh to localhost
from within docker containers running on Travis.
2016-03-19 21:33:23 -07:00
Toshio Kuratomi
bdf90d20dd
Add :Z to mount the volume. This is a docker-1.7+ option that makes the mount properly relabel for selinux
2016-03-18 07:47:09 -07:00
James Cammarata
88310a7f28
Adding iproute to certain RH-based docker images
2016-03-15 15:28:22 -04:00
James Cammarata
2fa1936ff9
Adding python-dev to the list of packages for ubuntu1204 docker
...
[ci skip]
2016-03-13 09:21:47 -04:00
James Cammarata
9d459386ce
Also adding an upgrade of pycrypto to ubuntu1204 config
2016-03-13 09:14:15 -04:00
James Cammarata
90afc5e7d2
Adding rubygems to the ubuntu1204 docker config
...
[no ci]
2016-03-13 08:50:21 -04:00
James Cammarata
af282eb979
Fixing typo in ubuntu1204 docker config
2016-03-13 08:31:47 -04:00
James Cammarata
ff5584a349
Updating jinja2 in ubuntu1204 docker image
2016-03-13 08:27:52 -04:00
James Cammarata
1222830155
Initial commit for Ubuntu 12.04 docker config for testing
2016-03-13 03:19:47 -04:00
James Cammarata
286d91d722
Reorganizing tox stuff and making py3-specific requirements
2016-03-11 11:25:28 -05:00
James Cammarata
ab682b2917
Moving docker tests to pre-compiled images
2016-03-10 21:52:23 -05:00
James Cammarata
c6af811573
Fixing equality check in run_tests.sh for sanity
2016-03-10 15:34:06 -05:00
Brian Coca
7e3c92e909
predictable docker names and autoremove if no fail
2016-03-10 15:07:17 -05:00
James Cammarata
f700a7e3ce
Removing forced pull from build step in run_tests.sh
2016-03-10 14:07:58 -05:00
Brian Coca
a07495e4c8
allow tests to run with parameters
...
also fixed test_test_infra to allow tags
2016-03-10 10:50:14 -05:00
James Cammarata
8cfdaa16f4
Fixing error in localedef usage for f23 docker image
2016-03-06 11:07:27 -05:00
James Cammarata
0e17a6f036
Another attempt at fixing random f23 locale failures in docker image
2016-03-06 09:56:31 -05:00
James Cammarata
2ee0c1b175
Fixing centos6 docker image for pycrytpo too
2016-03-06 08:09:30 -05:00
James Cammarata
762c99f77c
Fixing centos6 docker image to upgrade jinja2
2016-03-06 07:49:00 -05:00
James Cammarata
56670bd150
More tweaks for fedora on docker
2016-03-05 18:36:41 -05:00
James Cammarata
b97a98f69e
Trying to fix up the fedora23 docker image
2016-03-05 15:45:37 -05:00
James Cammarata
b72cd3a6d2
Adding fedora rawhide to the travis mix
2016-03-05 14:35:49 -05:00
James Cammarata
c632873936
Adding centos 6 to the travis mix
2016-03-05 13:47:23 -05:00
James Cammarata
e5844ee03d
Revert "Testing adding -j2 to the run_tests.sh script to speed up docker tests"
...
This reverts commit db2a0ae255
, as it does not
add any speed to the tests on Travis.
2016-03-05 11:50:10 -05:00
James Cammarata
db2a0ae255
Testing adding -j2 to the run_tests.sh script to speed up docker tests
2016-03-05 10:58:30 -05:00
James Cammarata
981f451f0e
Adding fedora 23 to the Docker tests on travis
2016-03-04 14:02:13 -05:00