Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
86c866a
1
Parent(s):
bf86979
Get travis to use virtualenv
Browse files- .travis.yml +6 -8
.travis.yml
CHANGED
@@ -8,13 +8,9 @@ jobs:
|
|
8 |
os: linux
|
9 |
dist: bionic
|
10 |
before_install: sudo apt-get -y install python3-pip python3-setuptools
|
11 |
-
env:
|
12 |
-
- PY='sudo env "PATH=$PATH" python3' PATH=$HOME/.local/bin:$PATH
|
13 |
- name: "macOS"
|
14 |
os: osx
|
15 |
before_install: python3 --version; pip3 --version; sw_vers
|
16 |
-
env:
|
17 |
-
- PY=python3 PATH=$HOME/.local/bin:$PATH
|
18 |
- name: "Windows"
|
19 |
os: windows
|
20 |
before_install:
|
@@ -22,7 +18,7 @@ jobs:
|
|
22 |
- python -m ensurepip
|
23 |
- python -m pip install --upgrade pip
|
24 |
env:
|
25 |
-
-
|
26 |
allow_failures:
|
27 |
- os: linux
|
28 |
- os: windows
|
@@ -31,7 +27,9 @@ before_script:
|
|
31 |
- julia --color=yes -e 'using Pkg; pkg"add Optim; add SpecialFunctions; precompile;"'
|
32 |
|
33 |
script:
|
34 |
-
-
|
35 |
-
-
|
36 |
-
-
|
|
|
|
|
37 |
|
|
|
8 |
os: linux
|
9 |
dist: bionic
|
10 |
before_install: sudo apt-get -y install python3-pip python3-setuptools
|
|
|
|
|
11 |
- name: "macOS"
|
12 |
os: osx
|
13 |
before_install: python3 --version; pip3 --version; sw_vers
|
|
|
|
|
14 |
- name: "Windows"
|
15 |
os: windows
|
16 |
before_install:
|
|
|
18 |
- python -m ensurepip
|
19 |
- python -m pip install --upgrade pip
|
20 |
env:
|
21 |
+
- PATH=/c/Python37:/c/Python37/Scripts:$PATH
|
22 |
allow_failures:
|
23 |
- os: linux
|
24 |
- os: windows
|
|
|
27 |
- julia --color=yes -e 'using Pkg; pkg"add Optim; add SpecialFunctions; precompile;"'
|
28 |
|
29 |
script:
|
30 |
+
- python3 -m venv main
|
31 |
+
- source main
|
32 |
+
- python3 -m pip install numpy pandas
|
33 |
+
- python3 setup.py install --user
|
34 |
+
- PATH=$HOME/.local/bin:$PATH python3 test/test.py
|
35 |
|