forked from SickChill/sickchill
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (32 loc) · 865 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
language: python
python:
- 2.7.9
sudo: false
branches:
except:
- master
env:
- TRAVIS_NODE_VERSION="5.0.0"
before_install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- npm install -g grunt-cli
- npm install -g bower
- cd .build && npm install --quiet && bower install && cd ..
install:
- pip install coveralls nose rednose
script:
- cd .build && grunt travis && cd ..
- nosetests -c nose.cfg
cache:
directories:
- $HOME/.cache/pip
- .build/bower_components
- .build/node_modules
after_success: coveralls
after_failure:
- cat ./Logs/sickrage.log
notifications:
irc: "irc.freenode.net#sickrage-builds"
email:
on_success: change
on_failure: change