aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index ddc269c..72393f7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,4 @@
+dist: "trusty"
language: python
python:
- "2.6"
@@ -7,11 +8,11 @@ python:
- "pypy"
- "pypy3"
install:
- - "pip install flake8"
+ - "if python --version 2>&1 | grep -q ' 2\.7\.'; then pip install flake8 ; fi"
script:
- "make test"
- - "make lint"
+ - "make lint-if-2.7"
notifications:
email:
- phihag@phihag.de
-sudo: false \ No newline at end of file
+sudo: false