MilesCranmer commited on
Commit
ad7c290
1 Parent(s): 5f27a84

[travis] correct binary for windows

Browse files
Files changed (1) hide show
  1. .travis.yml +5 -5
.travis.yml CHANGED
@@ -8,17 +8,17 @@ jobs:
8
  os: linux
9
  dist: bionic
10
  before_install: sudo apt-get -y install python3-pip python3-setuptools
11
- env: SETUPPREFIX="--user"
12
  - name: "macOS"
13
  os: osx
14
  before_install: python3 --version; pip3 --version; sw_vers
15
- env: SETUPPREFIX=""
16
  - name: "Windows"
17
  os: windows
18
  before_install:
19
  - choco install python --version 3.8.0
20
  - python -m pip install --upgrade pip
21
- env: PATH=/c/Python38:/c/Python38/Scripts:$PATH SETUPPREFIX=""
22
  allow_failures:
23
  - os: linux
24
  - os: windows
@@ -30,6 +30,6 @@ before_script:
30
 
31
  script:
32
  - pip3 install numpy pandas
33
- - python3 setup.py install $SETUPPREFIX
34
- - PATH=$HOME/.local/bin:$PATH python3 test/test.py
35
 
 
8
  os: linux
9
  dist: bionic
10
  before_install: sudo apt-get -y install python3-pip python3-setuptools
11
+ env: PY=python3
12
  - name: "macOS"
13
  os: osx
14
  before_install: python3 --version; pip3 --version; sw_vers
15
+ env: PY=python3
16
  - name: "Windows"
17
  os: windows
18
  before_install:
19
  - choco install python --version 3.8.0
20
  - python -m pip install --upgrade pip
21
+ env: PATH=/c/Python38:/c/Python38/Scripts:$PATH PY=python
22
  allow_failures:
23
  - os: linux
24
  - os: windows
 
30
 
31
  script:
32
  - pip3 install numpy pandas
33
+ - $PY setup.py install $SETUPPREFIX
34
+ - PATH=$HOME/.local/bin:$PATH $PY test/test.py
35