mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Add CI for macOS
This commit is contained in:
31
.travis.yml
31
.travis.yml
@ -1,25 +1,36 @@
|
|||||||
language: python
|
language: python
|
||||||
python:
|
|
||||||
- "2.7"
|
|
||||||
|
|
||||||
env:
|
matrix:
|
||||||
- TOX_ENV=docs
|
include:
|
||||||
- TOX_ENV=lint
|
- os: linux
|
||||||
- TOX_ENV=py27
|
sudo: required
|
||||||
|
python: 2.7
|
||||||
|
env: TOX_ENV=docs
|
||||||
|
- os: linux
|
||||||
|
sudo: required
|
||||||
|
python: 2.7
|
||||||
|
env: TOX_ENV=lint
|
||||||
|
- os: linux
|
||||||
|
sudo: required
|
||||||
|
python: 2.7
|
||||||
|
env: TOX_ENV=py27
|
||||||
|
- os: osx
|
||||||
|
language: generic
|
||||||
|
env: TOX_ENV=py27
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
- pip install -U pip setuptools tox
|
- sudo pip install -U pip setuptools tox
|
||||||
|
|
||||||
# temporary hook to fix issue with gcc-pic32
|
# temporary hook to fix issue with gcc-pic32
|
||||||
- sudo apt-get install -qq lib32z1 lib32ncurses5 lib32bz2-1.0
|
- if [[ "$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:
|
||||||
- tox -e coverage
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tox -e coverage; fi
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then bash <(curl -s https://codecov.io/bash); fi
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
slack:
|
slack:
|
||||||
|
Reference in New Issue
Block a user