MilesCranmer commited on
Commit
c765a2b
1 Parent(s): 86c866a

Update python for windows test

Browse files
Files changed (1) hide show
  1. .travis.yml +5 -7
.travis.yml CHANGED
@@ -14,22 +14,20 @@ jobs:
14
  - name: "Windows"
15
  os: windows
16
  before_install:
17
- - choco install python
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
25
 
 
 
26
  before_script:
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
 
 
14
  - name: "Windows"
15
  os: windows
16
  before_install:
17
+ - choco install python --version 3.8.0
 
18
  - python -m pip install --upgrade pip
19
+ env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
 
20
  allow_failures:
21
  - os: linux
22
  - os: windows
23
 
24
+ install: pip3 install --upgrade pip
25
+
26
  before_script:
27
  - julia --color=yes -e 'using Pkg; pkg"add Optim; add SpecialFunctions; precompile;"'
28
 
29
  script:
30
+ - pip3 install numpy pandas
 
 
31
  - python3 setup.py install --user
32
  - PATH=$HOME/.local/bin:$PATH python3 test/test.py
33