You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
notifications:
|
|
webhooks:
|
|
urls:
|
|
- https://webhooks.gitter.im/e/bd77a26eab56de803949
|
|
on_success: always # options: [always|never|change] default: always
|
|
on_failure: always # options: [always|never|change] default: always
|
|
on_start: false # default: false
|
|
|
|
language: bash
|
|
|
|
before_install:
|
|
- rm -rf ~/.gnupg
|
|
|
|
before_script:
|
|
- sudo apt-get -qq purge mysql* graphviz*
|
|
- sudo apt-get -qq autoremove
|
|
|
|
script:
|
|
- sudo echo -e "[user]\n\tname = abc\n\temail = root@localhost.com" > ~/.gitconfig
|
|
- sudo echo "Travis Banch = $TRAVIS_BRANCH"
|
|
- sudo apt-get install git python3-setuptools python3-dev python3-apt
|
|
- sudo easy_install3 pip
|
|
- sudo pip3 install virtualenv
|
|
- virtualenv ./env --system-site-packages
|
|
- source ./env/bin/activate
|
|
- sudo pip3 install -r requirements.txt
|
|
- sudo python3 setup.py develop
|
|
- mkdir ~/.ee
|
|
- ln -s /home/travis/build/rtCamp/easyengine/config/plugins.d ~/.ee/plugins.d
|
|
- ln -s /home/travis/build/rtCamp/easyengineee/cli/plugins ~/.ee/plugins
|
|
- ee --help
|
|
- sudo pip3 install nose coverage
|
|
- sudo nosetests
|
|
|