forked from reimandlab/ActiveDriverDB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (31 loc) · 927 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
sudo: required
dist: xenial
language: python
cache:
timeout: 1800
pip: true
directories:
- node_modules
- downloads
python:
- 3.7
before_install:
- sudo sh -c 'echo "deb https://cloud.r-project.org/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list'
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
- sudo apt-get update
install:
- curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
- sudo apt-get install -y nodejs
- sudo apt-get install -y pigz
- sudo npm config set strict-ssl false
- bash setup.sh
- cd website
- pip install wheel
- pip install -r requirements.txt
- pip install -r tests/requirements.txt
- bash deploy.sh
script:
- python3 -m pytest -x -n 2 --cov=. -k 'not test_import_results and not test_data and not celery' -v
after_success:
- cd ..
- coveralls --data_file website/.coverage --config_file=website/.coveragerc