forked from platformio/platformio-core
Fix test for lib command
This commit is contained in:
12
.travis.yml
12
.travis.yml
@ -3,11 +3,11 @@ language: python
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
sudo: required
|
sudo: false
|
||||||
python: 2.7
|
python: 2.7
|
||||||
env: TOX_ENV=docs
|
env: TOX_ENV=docs
|
||||||
- os: linux
|
- os: linux
|
||||||
sudo: required
|
sudo: false
|
||||||
python: 2.7
|
python: 2.7
|
||||||
env: TOX_ENV=lint
|
env: TOX_ENV=lint
|
||||||
- os: linux
|
- os: linux
|
||||||
@ -20,17 +20,17 @@ matrix:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
- sudo pip install -U pip setuptools tox
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo pip install -U tox; else pip install -U tox; fi
|
||||||
|
|
||||||
# temporary hook to fix issue with gcc-pic32
|
# temporary hook to fix issue with gcc-pic32
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq lib32z1 lib32ncurses5 lib32bz2-1.0; fi
|
- if [[ "$TOX_ENV" == "py27" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq lib32z1 lib32ncurses5 lib32bz2-1.0; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- tox -e $TOX_ENV
|
- tox -e $TOX_ENV
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tox -e coverage; fi
|
- if [[ "$TOX_ENV" == "py27" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tox -e coverage; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then bash <(curl -s https://codecov.io/bash); fi
|
- if [[ "$TOX_ENV" == "py27" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then bash <(curl -s https://codecov.io/bash); fi
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
slack:
|
slack:
|
||||||
|
Reference in New Issue
Block a user