Commit Graph

46 Commits

Author SHA1 Message Date
Pedro Algarvio
eb055b0417 Install patched M2Crypto. 2013-03-12 03:14:11 +00:00
Pedro Algarvio
865dc1f057 Revert the .travis.yml changes.
* We still support python 2.6
* DO NOT use system packages as the travis docs clearly state.
2013-03-12 03:06:59 +00:00
Tris Forster
a83f48f0e0 Modified travis config to use salt ppa for requirements 2013-03-07 14:02:27 +11:00
Pedro Algarvio
84b1a6deed Git should already be installed. 2013-02-20 17:23:18 +00:00
Pedro Algarvio
c4e69cfc46 Ignore missing or broken packages on travis builds. 2013-02-20 17:03:14 +00:00
Pedro Algarvio
41212b7deb Some more mirror support to travis.yaml pip install calls. 2013-02-19 16:10:59 +00:00
Pedro Algarvio
35b38c2fdd Don't use -U with pip. Makes M2Crypto re-install and fail. 2013-02-17 11:36:45 +00:00
Pedro Algarvio
760c4e8f66 Cleanup. Pip should update packages and also use mirrors. 2013-02-17 11:32:55 +00:00
Pedro Algarvio
daaf26d926 Also install mock. Use the correct python version. 2013-02-17 11:28:33 +00:00
Pedro Algarvio
3925fe7a32 How about the full path to the python binary? 2013-02-17 11:19:30 +00:00
Pedro Algarvio
072d9bebf1 Install mode deps. 2013-02-17 11:12:16 +00:00
Pedro Algarvio
3c23c99640 Use sudo. 2013-02-17 11:05:47 +00:00
Pedro Algarvio
ac027565ed Corrected apt call. 2013-02-17 11:04:11 +00:00
Pedro Algarvio
d15be7a0a5 Some more of no user interaction. 2013-02-17 10:58:20 +00:00
Pedro Algarvio
dae95b8256 No user interaction. 2013-02-17 10:56:09 +00:00
Pedro Algarvio
069de7279c Try fixing travis zmq import errors. 2013-02-17 10:53:58 +00:00
Thomas S Hatch
a427501321 remove aptsources from travis yaml file 2013-01-21 00:09:35 -07:00
Thomas S Hatch
62aabd4999 spacing keeps goign odd here... 2013-01-21 00:02:56 -07:00
Thomas S Hatch
ec05e5fa7d It appears to be python-aptsources 2013-01-20 23:59:47 -07:00
Thomas S Hatch
ce4f111184 Python apt is already installed 2013-01-20 23:57:46 -07:00
Thomas S Hatch
428085424f fix yaml spacing in travis config 2013-01-20 23:46:18 -07:00
Thomas S Hatch
8f2ad69362 Add python-apt deps for Travis builds 2013-01-20 23:31:14 -07:00
Pedro Algarvio
fd36a06701 Make git fetch --tags also works for salt's repository, not only forks. 2013-01-15 22:51:19 +00:00
Pedro Algarvio
f34d96a04d Should be an || OR, not a pipe. 2013-01-15 19:51:15 +00:00
Pedro Algarvio
14f6eae5de Add git://github.com/saltstack/salt.git as a remote and fetch tags upstream for forks. 2013-01-15 17:45:36 +00:00
Pedro Algarvio
dde4762804 Salt needs it's complete git history in the Travis-CI checkout. 2013-01-15 15:51:32 +00:00
Pedro Algarvio
4d85005fea Fetch git tags on travis-ci. Needed for tests. 2013-01-14 14:12:20 +00:00
Pedro Algarvio
6354cbf741 Always return (version, version_info) when trying to get data from git. 2013-01-14 13:20:53 +00:00
Pedro Algarvio
89fd313766 Fix stateconf test failing in 2.6 because OrderedDict was not available. 2012-11-16 22:45:12 +00:00
Thomas S Hatch
8fe1f97f81 Make ruby available for travis tests 2012-11-15 15:56:48 -07:00
Pedro Algarvio
c5c637154a Try to get some system information out of Travis-CI. 2012-11-06 18:11:26 +00:00
Pedro Algarvio
667f3f0fcb Travis-CI should build on all branches. 2012-11-05 13:32:52 +00:00
Pedro Algarvio
8fa59505c7 Have travis-ci install rabbitmq-server to run tests for it. 2012-11-04 11:54:21 +00:00
Pedro Algarvio
85c6664538 Fix running tests using python setup.py tests. I was deleting it too soon and not re-creating it. Increase tests verbosity on travis-ci. 2012-10-05 02:45:35 +01:00
Pedro Algarvio
0f7855e7fc Preserve environ when sudo'ing on Travis-CI 2012-09-29 22:34:09 +01:00
Pedro Algarvio
08503d10d2 Travis-CI should run the tests as root. 2012-09-29 22:21:16 +01:00
Pedro Algarvio
48b5e6a3c5 Travis should run the destructive tests. 2012-09-29 19:44:19 +01:00
Pedro Algarvio
ec2486c9d8 Only test supervisor if conditions are proper. Refs #2026.
* Only the root user can run the supervisor state tests.
* Install supervisor on the travis-ci machine to run the tests.
2012-09-25 22:32:42 +01:00
Pedro Algarvio
db456f38c4 Move travis-ci output to #salt-devel 2012-08-25 22:41:39 +01:00
Tom Vaughan
5dac55a75e Use Debian's patched M2Crypto on Travis CI.
This enables CI builds on http://travis-ci.org/. Please see also:
http://travis-ci.org/#!/saltstak/salt.

Travis uses 32-bit Ubuntu Linux 11.10 (server edition) plus some
additional repositories, like RabbitMQ's own repo which provides the
zeromq package. This already contains the zeromq development headers
and libraries necessary to build Python extenstions in C. FYI - This
zeromq packake doesn't play nicely with the standard Debian/Ubuntu
zeromq packages like libzmq-dev. Also included are libssl-dev and
python-dev (but swig is missing). See also:
http://about.travis-ci.org/docs/user/ci-environment/

One complication is that M2Crypto requires SSL Version 2 support in
libssl. Debian and Ubuntu have disabled Version 2 support in libssl
since Version 2 is know to be insecure. We use our own source tarball
of M2Crypto that has been patched with the Debian/Ubuntu patches that
remove SSL Version 2. Please see:
http://packages.ubuntu.com/oneiric/python-m2crypto.

Salt also requires unittest2 which must be installed when using Python
2.6. unittest2 comes included with Python 2.7.

Finally: http://www.youtube.com/watch?v=pele5vptVgc
2012-05-01 14:59:17 -04:00
Tom Vaughan
e7cdb492c9 ensure package database is up-to-date 2012-04-30 20:22:03 -04:00
Tom Vaughan
0a6edbd4ec Sorry. Clean-up sloppy work. 2012-04-30 20:10:56 -04:00
Tom Vaughan
64b87a8698 apt-get install some dependencies ahead of pip
Both python-m2crypto and python-zmq have C extensions which need some
libraries installed inorder to compile.

Travis CI runs Ubuntu Server 11.0. See also:

    http://about.travis-ci.org/docs/user/ci-environment/

See Build-Depends:

    http://packages.ubuntu.com/oneiric/python-m2crypto
    http://packages.ubuntu.com/oneiric/python-zmq
2012-04-30 20:01:35 -04:00
Tom Vaughan
03fd1eddd0 Send Travis CI notices to IRC. 2012-04-30 19:09:30 -04:00
Tom Vaughan
93a254fbd4 Re-enable CI builds on Travis CI.
See also: http://about.travis-ci.org/docs/user/languages/python/
2012-04-30 19:03:38 -04:00
Thomas S Hatch
89221e377b Add initial (probably borken) travis file 2012-04-10 15:38:54 -06:00