-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
25 lines (25 loc) · 724 Bytes
/
.travis.yml
File metadata and controls
25 lines (25 loc) · 724 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
language: python
python:
- "3.4"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3
addons:
- firefox
install:
- pip install django==1.7 selenium==2.39 flake8 autopep8
- pip2 install --user fabric
- sudo apt-get install nginx
- sudo service nginx start
script:
- cd ./superlists
- wget -O bootstrap.zip https://github.com/twbs/bootstrap/releases/download/v3.1.0/bootstrap-3.1.0-dist.zip
- unzip bootstrap.zip
- mkdir -p lists/static
- mv dist lists/static/bootstrap
- rm bootstrap.zip
- python -m compileall *
- flake8 --max-line-length=160 --exclude migrations,test_views.py ./
- python3 manage.py test lists/
# - python3 manage.py test functional_tests/