This repository has been archived by the owner on May 24, 2018. It is now read-only.
forked from buildbot/buildbot
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
language: python | ||
|
||
python: | ||
- "2.7" | ||
# - "pypy" Not all tests are working yet | ||
|
||
env: | ||
- TEST_TARGET=master | ||
- TEST_TARGET=slave | ||
|
||
before_install: | ||
- sudo apt-get -qq update | ||
- sudo apt-get install libsasl2-dev libmysqlclient-dev libldap2-dev libssl-dev python-dev | ||
|
||
install: | ||
- "pip install -e $TEST_TARGET" | ||
- "pip install -v mock==1.0.1" | ||
- "pip install -v pyflakes" | ||
- "pip install -v coveralls" | ||
|
||
script: if [ "$TEST_TARGET" = "master" ]; then coverage run `which trial` buildbot ; else coverage run `which trial` buildslave ; fi | ||
|
||
after_success: | ||
- coveralls |