mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-20 21:33:09 +00:00
4a33b2021c
+ Convert setup.py test to run py.test instead of tox + Tox should now run setup.py test + TravisCI will create a job for each TOX_ENV and then execute tox to run the tests for that TOX_ENV
30 lines
407 B
YAML
30 lines
407 B
YAML
language: python
|
|
|
|
env:
|
|
- TOX_ENV=py33
|
|
- TOX_ENV=py34
|
|
|
|
before_install:
|
|
- sudo add-apt-repository ppa:gns3/ppa -y
|
|
- sudo apt-get update -q
|
|
|
|
install:
|
|
- pip install tox
|
|
- sudo apt-get install vpcs dynamips
|
|
|
|
script:
|
|
- tox -e $TOX_ENV
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
notifications:
|
|
email: false
|
|
irc:
|
|
channels:
|
|
- "chat.freenode.net#gns3"
|
|
on_success: change
|
|
on_failure: always
|
|
|