diff --git a/.travis.yml b/.travis.yml index 04adbb3..35451c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,13 +2,13 @@ env: - TRAVIS="yes" before_install: - - curl https://ftp-master.debian.org/keys/archive-key-7.0.asc | sudo apt-key add - - - echo "deb http://http.debian.net/debian wheezy-backports main" | sudo tee -a /etc/apt/sources.list - - echo "deb http://http.debian.net/debian wheezy main" | sudo tee -a /etc/apt/sources.list - - sudo /sbin/ifconfig - - sudo apt-get update -qq - - sudo rm /etc/dpkg/dpkg.cfg.d/multiarch - - sudo ./tests/test_env/deploy.sh + - [ $TEST_PEP8 -ne 1 ] && curl https://ftp-master.debian.org/keys/archive-key-7.0.asc | sudo apt-key add - + - [ $TEST_PEP8 -ne 1 ] && echo "deb http://http.debian.net/debian wheezy-backports main" | sudo tee -a /etc/apt/sources.list + - [ $TEST_PEP8 -ne 1 ] && echo "deb http://http.debian.net/debian wheezy main" | sudo tee -a /etc/apt/sources.list + - [ $TEST_PEP8 -ne 1 ] && sudo /sbin/ifconfig + - [ $TEST_PEP8 -ne 1 ] && sudo apt-get update -qq + - [ $TEST_PEP8 -ne 1 ] && sudo rm /etc/dpkg/dpkg.cfg.d/multiarch + - [ $TEST_PEP8 -ne 1 ] && sudo ./tests/test_env/deploy.sh language: python python: