forked from sopel-irc/sopel
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
39 lines (39 loc) · 903 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
language: python
python:
- "2.7"
- "3.3"
- "3.4"
git:
submodules: false
branches:
only:
- master
- /^\d+\.\d+\.x$/ # allows building maintenance branches
- /^v?\d+\.\d+(\.\d+)?(-\S*)?$/ # allows building version tags
sudo: false # Enables running on faster infrastructure.
cache:
directories:
- $HOME/.cache/pip
addons:
apt:
packages:
- aspell
- aspell-en
- libaspell-dev
install:
- pip install -r requirements.txt -r dev-requirements.txt
script:
- ./checkstyle.sh
- coverage run -m py.test -v .
- coverage report
after_success:
coveralls
deploy:
provider: pypi
username: dgw
password:
secure: U9XLRA5fYRmII/pyJGDIT0BQ4p0zP8yZJtxUSUO9arFKozgYZu0ldvoLjKnzPMPQNCGs+q4f0hNuXgN+u/FgfRPF/Q3wtUj58uIC4JFnn7u2D2pv7RqzZkGi9Hr8+SS7dChlx9bVbhC1Y0md0XlrsT6rbNKKW457Jei05+vpjvg=
on:
tags: true
python: "3.4"
allow_failure: true