Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
bdc71b3
1
Parent(s):
af5ed6e
Clean up travis code
Browse files- .travis.yml +8 -0
- test/travis.sh +3 -4
.travis.yml
CHANGED
@@ -2,11 +2,19 @@ language: julia
|
|
2 |
os: linux
|
3 |
dist: bionic
|
4 |
|
|
|
|
|
|
|
5 |
addons:
|
6 |
apt:
|
7 |
packages:
|
8 |
- python3-pip
|
9 |
- python3-setuptools
|
10 |
|
|
|
|
|
|
|
|
|
11 |
script:
|
|
|
12 |
- ./test/travis.sh
|
|
|
2 |
os: linux
|
3 |
dist: bionic
|
4 |
|
5 |
+
julia:
|
6 |
+
- nightly
|
7 |
+
|
8 |
addons:
|
9 |
apt:
|
10 |
packages:
|
11 |
- python3-pip
|
12 |
- python3-setuptools
|
13 |
|
14 |
+
|
15 |
+
before_script:
|
16 |
+
- export PATH=$HOME/.local/bin:$PATH
|
17 |
+
|
18 |
script:
|
19 |
+
- julia --color=yes -e 'import Pkg; Pkg.add("Optim"); Pkg.add("SpecialFunctions")'
|
20 |
- ./test/travis.sh
|
test/travis.sh
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
#!/bin/bash
|
2 |
-
|
3 |
-
sudo python3
|
4 |
-
|
5 |
-
python3 test/test.py
|
6 |
|
|
|
1 |
#!/bin/bash
|
2 |
+
sudo python3 -m pip install numpy pandas &&
|
3 |
+
sudo python3 setup.py install &&
|
4 |
+
python3 test/test.py
|
|
|
5 |
|