-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
41 lines (41 loc) · 1.54 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
language: python
sudo: required
python:
- '2.7'
env:
matrix:
- GROUP=docs
- GROUP=nosetests
addons:
apt:
packages:
- pandoc
- enchant
install:
- pip install -r dev-requirements.txt
- python setup.py develop
- wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh
- git config --global user.email "[email protected]"
- git config --global user.name "Alfred Russel Wallace"
before_script:
- psql -c 'create database db;' -U postgres
env:
global:
- DATABASE_URL=postgresql://postgres@localhost/db
- PORT=5000
- secure: isabc6zJWlMBizW/5MbjmWJ9Q2shDj0rjTPmtQmq7QZrrmxczjWfgiQE0i6tcw3wPvBIOgsA4M806ddgM/oeUPWt892BlPHUESb7j96zHtig9B/P4kwH11EPK4pEPcvg90NfVeDCqYHVSNcMtsRTSf93Fg7aT081URb7vRUykxg=
- secure: rWBAifHvKlQabe6gvz+edMEtjtDnpwI4RFHJB1ytYSNVKQ59s7fIk2q39IZc8K3Uix7ZtP3G7ws6ufQhOj44Pm4j1J+rbLnDjdMtmcDN5aiSnwb05JpltZXCNjUqAu/CBFZ44lnNenZp4uSLhU/kLVhB2Q+UPvyWNFgApEVoiHM=
- secure: fd4hFOH60UV8laBN4Mjva0w/EmVK3SVC5p/0O1oqPriPhUpoJ3eVVRvITbdvPctEJJgRR9t62rPk+Rv4EOXeRFfsjZK9gOfQqv/9VhJBebdQfOx2dwQLjDiGTrklkokDIDyfpyYOoJzZ/oP+6EneD403ilHnXC4fd/4EDQmaIRI=
- secure: 3rnkGugv5Hp71gjwQMUj5tup7/xk94p5IXEh0VItSXTziKn0pBY+yrCzAuIzlylbrl0baLaZOFGEFn2K+Jf+tr9mmN23X+zOUNsIqC4swlLLJx6hzH5AZaRmqzGjURM2gLISUayXGT9flOXyOKzzCGFELJKG9KlVyEOJ4fk04wQ=
script:
- make -C docs html linkcheck spelling
- nosetests --with-coverage --cover-package wallace
# - nosetests tests._test_heroku --nocapture
after_success:
- coveralls
notifications:
email:
recipients:
on_success: always
on_failure: always