MilesCranmer commited on
Commit
d7550d1
1 Parent(s): 8df173b

Merge test script to travis.yml

Browse files
Files changed (2) hide show
  1. .travis.yml +11 -3
  2. test/travis.sh +0 -5
.travis.yml CHANGED
@@ -1,6 +1,10 @@
1
  language: julia
2
  julia:
3
  - 1
 
 
 
 
4
  jobs:
5
  include:
6
  - name: "Linux"
@@ -15,14 +19,18 @@ jobs:
15
  - choco install python
16
  - python -m ensurepip
17
  - python -m pip install --upgrade pip
18
- env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
 
 
19
  allow_failures:
20
  - os: linux
21
  - os: windows
22
 
23
  before_script:
24
- - export PATH=$HOME/.local/bin:$PATH
25
 
26
  script:
27
  - julia --color=yes -e 'using Pkg; pkg"add Optim; add SpecialFunctions; precompile;"'
28
- - ./test/travis.sh
 
 
 
 
1
  language: julia
2
  julia:
3
  - 1
4
+ env:
5
+ - PY=python3
6
+ - PATH=$HOME/.local/bin:$PATH
7
+
8
  jobs:
9
  include:
10
  - name: "Linux"
 
19
  - choco install python
20
  - python -m ensurepip
21
  - python -m pip install --upgrade pip
22
+ env:
23
+ - PATH=/c/Python37:/c/Python37/Scripts:$PATH
24
+ - PY=python
25
  allow_failures:
26
  - os: linux
27
  - os: windows
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
36
+
test/travis.sh DELETED
@@ -1,5 +0,0 @@
1
- #!/bin/bash
2
- sudo python3 -m pip install numpy pandas &&
3
- sudo python3 setup.py install &&
4
- python3 test/test.py
5
-