mirror of
https://github.com/ROCm/jax.git
synced 2025-04-19 05:16:06 +00:00
add initial travis ci file
This commit is contained in:
parent
bc9e157459
commit
32f89e6c5a
26
.travis.yml
Normal file
26
.travis.yml
Normal file
@ -0,0 +1,26 @@
|
||||
sudo: false
|
||||
notifications:
|
||||
email: false
|
||||
language: python
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.6"
|
||||
env:
|
||||
- DEPS="pip nose six protobuf>=3.6.0 absl-py opt_einsum numpy scipy"
|
||||
- DEPS="pip nose six protobuf>=3.6.0 absl-py opt_einsum numpy"
|
||||
before_install:
|
||||
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
|
||||
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
|
||||
else
|
||||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
|
||||
fi
|
||||
- bash miniconda.sh -b -p $HOME/miniconda
|
||||
- export PATH="$HOME/miniconda/bin:$PATH"
|
||||
- conda update --yes conda
|
||||
- conda config --add channels conda-forge
|
||||
install:
|
||||
- conda install --yes python=$TRAVIS_PYTHON_VERSION $DEPS
|
||||
- pip install -v .
|
||||
script:
|
||||
- cd tests
|
||||
- PYTHONPATH=. JAX_NUM_GENERATED_CASES=10 nosetests
|
Loading…
x
Reference in New Issue
Block a user