forked from diafygi/acme-tiny
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.travis.yml
More file actions
25 lines (24 loc) · 711 Bytes
/
Copy path.travis.yml
File metadata and controls
25 lines (24 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
sudo: required
dist: trusty
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "nightly" # currently points to 3.6-dev
# command to install dependencies
install:
- "pip install -r requirements.txt"
- "pip install pylint"
before_script: ./test/inst.sh
# command to run tests
script:
- pv="$(python --version 2>&1)"
- pv1="Python 2.6"
- pv2="Python 3.2"
- pylint letsacme.py ;if [[ ! $? -eq 1 ]]; then echo 'pylint success!';elif [[ "$pv" = "$pv1"* || "$pv" = "$pv2"* ]]; then echo "pylint is broken in 2.6 and 3.2 does not recognize u'', pylint error for 2.6 and 3.2 should be ignored";else false; fi
- ./test/travis_check.sh