Skip to content

Commit

Permalink
limited travis
Browse files Browse the repository at this point in the history
  • Loading branch information
refack committed Apr 12, 2019
1 parent fdfd751 commit 5a2f673
Showing 1 changed file with 10 additions and 28 deletions.
38 changes: 10 additions & 28 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,38 +34,20 @@ matrix:
<<: *linux-setup-steps
script: pipenv run -v test -f make,ninja

- name: "Linux: test with make and ninja on Python 2.7"
python: '2.7'
<<: *linux-setup-steps
script: pipenv run -v test -f make,ninja

- name: "Windows: test with mocks on Python 3"
<<: *windows-setup-steps
env:
- PATH=/c/Python37:$PATH
before_install: choco install python3
script: python -m pipenv run -v test -f make-mock,msvs-mock

- name: "Windows: test with mocks on Python 2"
<<: *windows-setup-steps
env:
- PATH=/c/Python27:$PATH
before_install: choco install python2
script: python -m pipenv run -v test -f make-mock,msvs-mock

- name: "macOS: test with make and ninja on Python 3.7"
<<: *osx-setup-steps
script: pipenv run -v test -f make,ninja

- name: "lint with Python 2.7"
python: '2.7'
<<: *linux-setup-steps
script: pipenv run -v lint

- name: "lint with Python 3.7"
python: '3.7'
<<: *linux-setup-steps
script: pipenv run -v lint
- name: "macOS: XCode10.2 test with make and ninja on Python 3.7"
os: osx
osx_image: xcode10.2 # provides Python 3.7.2
language: cpp # 'language: python' is not yet supported on macOS
install:
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ninja
- pip3 install --upgrade pip pipenv
- pipenv install --dev
- pipenv install PyObjC # This is not in the Pipfile because it breaks other platforms https://github.com/pypa/pipenv/issues/3187
script: pipenv run -v test -f make,ninja

notifications:
slack: node4good:C2EI9vo04FY8Ce5u7kcOLlDw

0 comments on commit 5a2f673

Please sign in to comment.