Commit Graph

24 Commits

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