PySR / .travis.yml
MilesCranmer's picture
Move linux testing back to bionic
718935e
raw
history blame
907 Bytes
language: julia
julia:
- 1
jobs:
include:
- name: "Linux"
os: linux
dist: bionic
before_install: sudo apt-get -y install python3-pip python3-setuptools
env:
- PY="sudo python3" PATH=$HOME/.local/bin:$PATH
- name: "macOS"
os: osx
before_install: python3 --version; pip3 --version; sw_vers
env:
- PY=python3 PATH=$HOME/.local/bin:$PATH
- name: "Windows"
os: windows
before_install:
- choco install python
- python -m ensurepip
- python -m pip install --upgrade pip
env:
- PY=python3 PATH=/c/Python37:/c/Python37/Scripts:$PATH
allow_failures:
- os: linux
- os: windows
before_script:
- julia --color=yes -e 'using Pkg; pkg"add Optim; add SpecialFunctions; precompile;"'
script:
- $PY -m pip install numpy pandas
- $PY setup.py install
- $PY test/test.py