-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
40 lines (37 loc) · 941 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
os: linux
dist: bionic
language: python
python:
- "3.6"
#services:
# - postgresql
install:
- pwd
# - cd API_Enhanced_City
# - export PYTHONPATH=$PYTHONPATH:.
# - pip install -r requirements.txt
#before_script:
# - psql -c 'create database extendeddoc;' -U postgres
# - psql -c '\l' -U postgres
#
#jobs:
# include:
# - stage: Tests
# install:
# - pip install -e .
# - pip install pytest pytest-benchmark
# script:
# - pwd
# - pytest -s
# - stage: "Markdown link checks"
# language: node_js
# node_js: 12
# script:
# - npm install --global remark-cli remark-validate-links
# - remark -u validate-links .
# - |
# export FAILURE_THRESHOLD=1
# export warnings=`remark -u validate-links . 2>&1 | grep warning | grep "Link to unknown" | wc -l`
# if [ $warnings -gt $FAILURE_THRESHOLD ]; then
# exit 1;
# fi