-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
58 lines (50 loc) · 1.09 KB
/
.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
48
49
50
51
52
53
54
55
56
57
sudo: required
addons:
postgresql: "9.5"
apt:
packages:
- postgresql-server-dev-9.5
- pandoc
services:
- postgresql
language: python
matrix:
include:
- python: "2.7"
env: TOXENV=py27
- python: "3.4"
env: TOXENV=py34
- python: "3.5"
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
- python: "3.6"
env: TOXENV=docs3
before_install:
# Pre-cache long-builds before we go into tox, avoids 'no-stdout' timeouts.
- pip install lxml numpy
- git clone --recursive https://github.com/timstaley/voeventdb servercode
- cd servercode/external/q3c
- pg_config --version
- make
- sudo make install
- psql -c "\du" -U postgres | cat
- psql -l | cat
- psql -c "create database $USER;" -U postgres | cat
- pip install --upgrade pip virtualenv
- pip install codecov
install:
- cd ${TRAVIS_BUILD_DIR}
- pip install tox
- pip freeze
script:
- cd ${TRAVIS_BUILD_DIR}
- tox --showconfig
- tox -v
after_success:
- tox -e coverage-report
- codecov
notifications:
email:
on_success: never
on_failure: always