Skip to content

Commit 93b0389

Browse files
authored
Merge pull request #47 from altendky/check_and_fix_travis_config_in_travis
Check .travis.yml on Travis
2 parents 78f4cea + 635289f commit 93b0389

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.travis.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
language: python
2-
sudo: false
2+
os: linux
33
cache: pip
44
env:
55
global:
66
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
77
- SEGFAULT_SIGNALS=all
8-
matrix:
8+
jobs:
99
include:
1010
- python: '3.6'
1111
env:
@@ -41,6 +41,13 @@ install:
4141
export TOXPYTHON=$(echo $HOME/pypy3*/bin/pypy3)
4242
fi
4343
set +x
44+
- |
45+
set -ex
46+
if [[ $TOXENV == 'check' ]]; then
47+
(gem install travis --no-rdoc --no-ri
48+
travis lint --no-interactive --exit-code)
49+
fi
50+
set +x
4451
script:
4552
- tox -v
4653
after_failure:

0 commit comments

Comments
 (0)