Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
4ecf2f4
1
Parent(s):
f3fc18e
Need sudo for linux builds
Browse files- .travis.yml +5 -5
.travis.yml
CHANGED
@@ -8,7 +8,7 @@ jobs:
|
|
8 |
os: linux
|
9 |
before_install: sudo apt-get -y install python3-pip python3-setuptools
|
10 |
env:
|
11 |
-
- PY=python3 PATH=$HOME/.local/bin:$PATH
|
12 |
- name: "macOS"
|
13 |
os: osx
|
14 |
before_install: python3 --version; pip3 --version; sw_vers
|
@@ -21,15 +21,15 @@ jobs:
|
|
21 |
- python -m ensurepip
|
22 |
- python -m pip install --upgrade pip
|
23 |
env:
|
24 |
-
- PY=
|
25 |
allow_failures:
|
26 |
-
|
27 |
-
|
28 |
|
29 |
before_script:
|
|
|
30 |
|
31 |
script:
|
32 |
-
- julia --color=yes -e 'using Pkg; pkg"add Optim; add SpecialFunctions; precompile;"'
|
33 |
- $PY -m pip install numpy pandas
|
34 |
- $PY setup.py install
|
35 |
- $PY test/test.py
|
|
|
8 |
os: linux
|
9 |
before_install: sudo apt-get -y install python3-pip python3-setuptools
|
10 |
env:
|
11 |
+
- PY="sudo python3" PATH=$HOME/.local/bin:$PATH
|
12 |
- name: "macOS"
|
13 |
os: osx
|
14 |
before_install: python3 --version; pip3 --version; sw_vers
|
|
|
21 |
- python -m ensurepip
|
22 |
- python -m pip install --upgrade pip
|
23 |
env:
|
24 |
+
- PY=python3 PATH=/c/Python37:/c/Python37/Scripts:$PATH
|
25 |
allow_failures:
|
26 |
+
- os: linux
|
27 |
+
- os: windows
|
28 |
|
29 |
before_script:
|
30 |
+
- julia --color=yes -e 'using Pkg; pkg"add Optim; add SpecialFunctions; precompile;"'
|
31 |
|
32 |
script:
|
|
|
33 |
- $PY -m pip install numpy pandas
|
34 |
- $PY setup.py install
|
35 |
- $PY test/test.py
|