Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
91735eb
1
Parent(s):
7429b75
Test travis support for Windows/macOS
Browse files- .travis.yml +18 -8
.travis.yml
CHANGED
@@ -1,16 +1,26 @@
|
|
1 |
language: julia
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
julia:
|
6 |
- 1
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
- python3-setuptools
|
13 |
-
|
14 |
|
15 |
before_script:
|
16 |
- export PATH=$HOME/.local/bin:$PATH
|
|
|
1 |
language: julia
|
2 |
+
matrix:
|
3 |
+
include:
|
4 |
+
- name: "Linux"
|
5 |
+
os: linux
|
6 |
+
before_install: sudo apt-get -y install python3-pip python3-setuptools
|
7 |
+
- name: "macOS"
|
8 |
+
os: osx
|
9 |
+
before_install: python3 --version; pip3 --version; sw_vers
|
10 |
+
- name: "Windows"
|
11 |
+
os: windows
|
12 |
+
before_install:
|
13 |
+
- choco install python
|
14 |
+
- python -m pip install --upgrade pip
|
15 |
+
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
|
16 |
|
17 |
julia:
|
18 |
- 1
|
19 |
|
20 |
+
jobs:
|
21 |
+
allow_failures:
|
22 |
+
- os: osx
|
23 |
+
- os: windows
|
|
|
|
|
24 |
|
25 |
before_script:
|
26 |
- export PATH=$HOME/.local/bin:$PATH
|