提交 485c024d authored 作者: notoraptor's avatar notoraptor

New test

上级 bc469a66
...@@ -4,7 +4,6 @@ sudo: false ...@@ -4,7 +4,6 @@ sudo: false
cache: cache:
directories: directories:
- $HOME/download - $HOME/download
- $HOME/download/miniconda.sh
- $HOME/.cache/pip - $HOME/.cache/pip
- $HOME/.theano - $HOME/.theano
...@@ -17,15 +16,11 @@ python: ...@@ -17,15 +16,11 @@ python:
# command to install dependencies # command to install dependencies
before_install: before_install:
# Install miniconda to avoid compiling scipy # Install miniconda to avoid compiling scipy
- echo check some directories
- pwd
- file /home/travis/download/miniconda.sh
- echo directories checked
- mkdir -p download - mkdir -p download
- cd download - cd download
- wget -c https://repo.continuum.io/miniconda/Miniconda2-4.1.11-Linux-x86_64.sh -O miniconda.sh - wget -c https://repo.continuum.io/miniconda/Miniconda2-4.1.11-Linux-x86_64.sh -O $HOME/download/miniconda.sh
- chmod +x miniconda.sh - chmod +x $HOME/download/miniconda.sh
- ./miniconda.sh -b - $HOME/download/miniconda.sh -b
- cd .. - cd ..
- export PATH=/home/travis/miniconda2/bin:$PATH - export PATH=/home/travis/miniconda2/bin:$PATH
...@@ -46,6 +41,7 @@ install: ...@@ -46,6 +41,7 @@ install:
- pip install . --no-deps - pip install . --no-deps
- pip install flake8-future-import nose-parameterized==0.5.0 sphinx_rtd_theme - pip install flake8-future-import nose-parameterized==0.5.0 sphinx_rtd_theme
- pip install nose-exclude - pip install nose-exclude
- conda info --envs | grep "*" | cut -d"*" -f 2 | sed 's/^ *//g' | sed 's/ *$//g'
# command to run tests # command to run tests
env: env:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论