forked from RocketMap/RocketMap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (23 loc) · 802 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
sudo: false
language: python
cache:
pip: true
directories:
- node_modules
python:
- 2.7
# Install steps MUST succeed or will immediately halt the build.
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 --lts=boron
- pip install flake8
- pip install -r requirements.txt
- npm install
- npm rebuild node-sass
# Script steps, if erroring, will fail the build but not stop the build process.
# This is useful because we want to know that linting is broken, but it shouldn't
# stop us from testing/linting/compiling other things as well.
script:
- flake8 --statistics --show-source --disable-noqa
- npm run build
- npm run lint
- nosetests