提交 8c793f6f 编写于 作者: A Amirsina Torfi

travis

上级 58248295
......@@ -2,18 +2,14 @@ sudo: false
dist: trusty
language: python
python: # The following versions
- "3.5"
- "3.6"
- "3.7"
- "3.8"
# command to install dependencies
install:
- pip install numpy
- pip install matplotlib
# install TensorFlow from https://storage.googleapis.com/tensorflow/
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.5" ]]; then
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.3.0-cp35-cp35m-manylinux2010_x86_64.whl;
elif [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.3.0-cp36-cp36m-manylinux2010_x86_64.whl;
fi
- pip install tensorflow
script:
# run all python files in parallel, http://stackoverflow.com/questions/5015316
- find codes/python/ -type f -name "*.py" |xargs -n 1 -P 3 python
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册