forked from praekeltfoundation/nurseconnect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 817 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
sudo: false
language: python
python:
- "2.7"
cache:
directories:
- $HOME/.cache/pip
install:
- pip install --upgrade setuptools
- pip install html5lib==0.9999999
- pip install --upgrade pip --cache-dir $HOME/.cache/pip
- pip install coveralls --cache-dir $HOME/.cache/pip
- pip install flake8 --cache-dir $HOME/.cache/pip
- pip install -r requirements-dev.txt --cache-dir $HOME/.cache/pip
- pip install -e . --cache-dir $HOME/.cache/pip
script:
- flake8 nurseconnect
- py.test
notifications:
slack: praekelt:37JlRu8DWDq9ZdTowf5cgMoN
after_success:
- coveralls
deploy:
provider: pypi
user: Praekelt
password:
# NOTE: See http://docs.travis-ci.com/user/encryption-keys/ for more info.
secure: "insert encrypted pypi password here"
on:
tags: true
all_branches: true