-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
41 lines (31 loc) · 741 Bytes
/
.travis.yml
File metadata and controls
41 lines (31 loc) · 741 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
matrix:
include:
- language: python
python:
- "3.5"
- "3.7"
env:
- METAWAHL_CONFIG=test.conf.py
cache: pip
before_install:
- cd api/
install:
- pip install pipenv
- pipenv sync --dev
- psql -c 'create database metawahl;' -U postgres
- pipenv run python scripts/reset_db.py --force
- pipenv run python scripts/bootstrap_db.py
services:
- postgresql
script: pipenv run ./travis_tavern.sh
- language: node_js
node_js:
- 9
- 10
before_install: cd client/
script:
- yarn run build
- yarn test
cache:
directories:
- "node_modules"