forked from camptocamp/cgxp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
30 lines (27 loc) · 766 Bytes
/
.travis.yml
File metadata and controls
30 lines (27 loc) · 766 Bytes
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
language: python
python:
- 2.7
before_script:
- sudo apt-get update
- sudo apt-get install python-virtualenv nodejs
- cd core/src/doc
- virtualenv --distribute --no-site-packages env
- env/bin/pip install -r requirements
- cd -
- cd core/tests
- virtualenv --distribute --no-site-packages env
- env/bin/pip install CherryPy==3.6.0 jasmine-core==2.2.0 jasmine==2.2.0
- cd -
- npm install jshint
script:
- if [ ${TRAVIS_PULL_REQUEST} != "false" ] ; then git fetch origin ${TRAVIS_BRANCH}:${TRAVIS_BRANCH} ; fi
- if [ ${TRAVIS_PULL_REQUEST} != "false" ] ; then git diff --check ${TRAVIS_BRANCH} -- ; fi
- ./jshint
- cd core/tests
- env/bin/jasmine-ci --browser phantomjs
- cd -
- ./travis.sh
notifications:
email:
recipients:
- c2cgeoportal@camptocamp.com