-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
47 lines (36 loc) · 952 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
41
42
43
44
45
46
47
language: python
services:
- docker
addons:
apt:
packages:
- python3-dev
- libssl-dev
- libffi-dev
python:
- '3.6'
cache: pip
before-install:
- npm -g install npm@latest
install:
- npm install -g aglio
- npm install -g [email protected]
- pip3 install -r requirements/tests.txt
env:
- APP_CONFIG="config.TestingConfig" PATH=$PATH:${HOME}/google-cloud-sdk/bin
before_script:
- psql -c 'create database test;' -U postgres
- export DATABASE_URL=postgresql://postgres@localhost:5432/test
- export TEST_DATABASE_URL=postgresql://postgres@localhost:5432/test
- bash scripts/test_multiple_heads.sh
- aglio --input docs/api/api_blueprint_source.apib --compile --output docs/api/api_blueprint.apib
#- dredd
script:
- nosetests tests/all -v --with-coverage
after_success:
- 'bash <(curl -s https://codecov.io/bash)'
- bash scripts/push_api_docs.sh
branches:
only:
- master
- development