Skip to content

Commit 5a2f673

Browse files
committed
limited travis
1 parent fdfd751 commit 5a2f673

File tree

1 file changed

+10
-28
lines changed

1 file changed

+10
-28
lines changed

.travis.yml

Lines changed: 10 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -34,38 +34,20 @@ matrix:
3434
<<: *linux-setup-steps
3535
script: pipenv run -v test -f make,ninja
3636

37-
- name: "Linux: test with make and ninja on Python 2.7"
38-
python: '2.7'
39-
<<: *linux-setup-steps
40-
script: pipenv run -v test -f make,ninja
41-
42-
- name: "Windows: test with mocks on Python 3"
43-
<<: *windows-setup-steps
44-
env:
45-
- PATH=/c/Python37:$PATH
46-
before_install: choco install python3
47-
script: python -m pipenv run -v test -f make-mock,msvs-mock
48-
49-
- name: "Windows: test with mocks on Python 2"
50-
<<: *windows-setup-steps
51-
env:
52-
- PATH=/c/Python27:$PATH
53-
before_install: choco install python2
54-
script: python -m pipenv run -v test -f make-mock,msvs-mock
55-
5637
- name: "macOS: test with make and ninja on Python 3.7"
5738
<<: *osx-setup-steps
5839
script: pipenv run -v test -f make,ninja
5940

60-
- name: "lint with Python 2.7"
61-
python: '2.7'
62-
<<: *linux-setup-steps
63-
script: pipenv run -v lint
64-
65-
- name: "lint with Python 3.7"
66-
python: '3.7'
67-
<<: *linux-setup-steps
68-
script: pipenv run -v lint
41+
- name: "macOS: XCode10.2 test with make and ninja on Python 3.7"
42+
os: osx
43+
osx_image: xcode10.2 # provides Python 3.7.2
44+
language: cpp # 'language: python' is not yet supported on macOS
45+
install:
46+
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ninja
47+
- pip3 install --upgrade pip pipenv
48+
- pipenv install --dev
49+
- pipenv install PyObjC # This is not in the Pipfile because it breaks other platforms https://github.com/pypa/pipenv/issues/3187
50+
script: pipenv run -v test -f make,ninja
6951

7052
notifications:
7153
slack: node4good:C2EI9vo04FY8Ce5u7kcOLlDw

0 commit comments

Comments
 (0)