forked from AppEnlight/appenlight-client-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
49 lines (38 loc) · 822 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
48
49
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
#
# Copyright © 2014 uralbash <[email protected]>
#
# Distributed under terms of the MIT license.
sudo: false
language: python
notifications:
on_success: change
on_failure: always
matrix:
include:
- python: "2.7"
env:
- python: "3.3"
env:
- python: "3.4"
env:
- python: "3.5"
env:
- python: "pypy"
env:
- python: "pypy3"
env:
install:
- pip install flake8 rstcheck
script:
- python setup.py develop
- if [ -n "$BCRYPT" ]; then pip install bcrypt; fi
- if [ -n "$PYBCRYPT" ]; then pip install py-bcrypt; fi
- py.test appenlight_client/tests.py
# flake8 and rstcheck
- if [ -n "$RSTCHECK" ]; then ./test.sh; fi
after_success:
- pip install coveralls
- coveralls