-
Notifications
You must be signed in to change notification settings - Fork 184
Expand file tree
/
Copy path.travis.yml
More file actions
44 lines (44 loc) · 725 Bytes
/
.travis.yml
File metadata and controls
44 lines (44 loc) · 725 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
os: linux
sudo: required
dist: trusty
language: python
python:
- "2.7"
env:
- NODE_ENV=production NODE_VERSION="8.15.0"
branches:
only:
- master
- staging
cache:
apt: true
directories:
- node_modules
- $HOME/.npm
- $HOME/.cache/pip
install:
- nvm install $NODE_VERSION
- npm -g install chromedriver
- npm -g install jest@20
- npm install
- pip install --upgrade pip
- pip install -r requirements.txt
addons:
chrome: stable
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
hosts:
- jhu.sem.ly
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
script:
- npm run build
- npm run lint
- npm run test
- python manage.py test
- make html -C docs