Skip to content
Snippets Groups Projects
Commit 2b158f2d8415 authored by Gavin M. Roy's avatar Gavin M. Roy
Browse files

Cleanup the .travis-ci script

parent 6bae2f2ba392
Branches
No related tags found
No related merge requests found
language: python language: python
os:
- linux
python: python:
- 2.6 - 2.6
- 2.7 - 2.7
...@@ -11,11 +8,4 @@ ...@@ -11,11 +8,4 @@
- 3.5 - 3.5
- 3.6 - 3.6
matrix:
include:
- os: osx
# Cursory validation on osx, but only with python 3 (to avoid builds taking too long)
# Workaround for Tavis's current lack of official support for Python on OS X
# Reference https://github.com/travis-ci/travis-ci/issues/2312
language: generic
before_install: before_install:
...@@ -21,17 +11,4 @@ ...@@ -21,17 +11,4 @@
before_install: before_install:
- brew update
- brew install libev
- brew install python3
- virtualenv env -p python3
- source env/bin/activate
- echo Installing RabbitMQ...
- brew install rabbitmq
- echo Starting RabbitMQ...
- export PATH="${PATH}:/usr/local/sbin"
- sudo rabbitmq-server -detached
before_install:
- echo Installing libev on Linux...
- sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse" - sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse"
- sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse" - sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse"
- sudo apt-get update -qq - sudo apt-get update -qq
...@@ -50,4 +27,7 @@ ...@@ -50,4 +27,7 @@
services: services:
- rabbitmq - rabbitmq
before_script:
- sudo rabbitmqctl status
script: script:
...@@ -53,5 +33,4 @@ ...@@ -53,5 +33,4 @@
script: script:
- sudo rabbitmqctl status
- nosetests - nosetests
after_success: after_success:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment