Commit Graph

12 Commits

Author SHA1 Message Date
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