forked from fiduswriter/fiduswriter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (31 loc) · 861 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
language: node_js
python:
- "2.7"
node_js:
- "6"
sudo: required
dist: trusty
env:
- TRAVIS_PYTHON_VERSION="2.7"
before_install:
- x="bas";`"$x"e64 -d <<< ZXhwb3J0IFNBVUNFX1VTRVJOQU1FPWZpZHVz`
- x="bas";`"$x"e64 -d <<< ZXhwb3J0IFNBVUNFX0FDQ0VTU19LRVk9OWU5ZGJkNzctNDIwOC00ODM5LTkwY2ItMTZkM2M5ODUxZGMw`
- sudo apt-get -qq update
- sudo apt-get install -y libjpeg-dev python-dev python-pip gettext zlib1g-dev git python-virtualenv
- virtualenv venv
- source venv/bin/activate
install:
- pip install -r requirements.txt
- pip install -r dev-requirements.txt
- flake8 ./
- ./manage.py check_js
- pip install coverage
- pip install coveralls
- pip install selenium
- coverage run manage.py init
script:
- ./travis/sauce-connect.sh
- travis_retry coverage run manage.py test
after_success:
- coverage report
- coveralls