2013-10-04 23:45:15 +00:00
|
|
|
language: python
|
2015-01-19 10:51:39 +00:00
|
|
|
python:
|
|
|
|
- "3.4"
|
2014-08-08 13:32:32 +00:00
|
|
|
|
2015-01-19 16:50:09 +00:00
|
|
|
before_install:
|
|
|
|
- sudo add-apt-repository ppa:gns3/ppa -y
|
|
|
|
- sudo apt-get update -q
|
2015-01-20 21:50:26 +00:00
|
|
|
- sudo apt-get install dynamips
|
2015-06-06 11:42:25 +00:00
|
|
|
- sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -qq qt5-qmake qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev
|
2015-01-19 16:50:09 +00:00
|
|
|
|
2013-10-04 23:45:15 +00:00
|
|
|
install:
|
2015-01-19 10:51:39 +00:00
|
|
|
- python setup.py install
|
|
|
|
- pip install -rdev-requirements.txt
|
2015-06-18 13:59:35 +00:00
|
|
|
- pip install coveralls
|
2013-10-04 23:45:15 +00:00
|
|
|
|
2014-08-09 11:05:31 +00:00
|
|
|
script:
|
2015-06-09 08:10:06 +00:00
|
|
|
- ifconfig
|
2015-02-05 09:46:27 +00:00
|
|
|
- py.test -v -s tests --cov gns3server --cov-report term-missing
|
2013-10-04 23:45:15 +00:00
|
|
|
|
2015-01-14 09:39:46 +00:00
|
|
|
#branches:
|
|
|
|
# only:
|
|
|
|
# - master
|
2013-10-08 17:33:51 +00:00
|
|
|
|
2013-10-04 23:45:15 +00:00
|
|
|
notifications:
|
2015-01-26 08:40:48 +00:00
|
|
|
email:
|
|
|
|
- julien@gns3.net
|
2015-01-14 09:39:46 +00:00
|
|
|
# irc:
|
|
|
|
# channels:
|
|
|
|
# - "chat.freenode.net#gns3"
|
|
|
|
# on_success: change
|
|
|
|
# on_failure: always
|
2013-10-04 23:45:15 +00:00
|
|
|
|
2015-02-05 09:46:27 +00:00
|
|
|
after_success:
|
2015-06-18 14:33:24 +00:00
|
|
|
- coveralls
|