xonsh/.circle.yml

26 lines
931 B
YAML
Raw Normal View History

2016-08-24 13:20:17 -04:00
machine:
environment:
PATH: /home/ubuntu/miniconda/envs/test_env/bin:/home/ubuntu/miniconda/bin:$PATH
2016-08-24 13:50:15 -04:00
post:
2016-08-24 13:52:49 -04:00
- pyenv global 3.4.4 3.5.1
2016-08-24 13:20:17 -04:00
dependencies:
pre:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
2016-08-24 14:15:21 -04:00
- bash .circle_miniconda.sh
2016-08-24 13:45:30 -04:00
- rm -rf ~/.pyenv
- rm -rf ~/virtualenvs
2016-08-24 13:36:16 -04:00
post:
2016-10-07 11:12:25 -04:00
- case $CIRCLE_NODE_INDEX in 0) pip install -r requirements-tests.txt ;; esac:
parallel: false
2016-08-24 14:21:37 -04:00
- case $CIRCLE_NODE_INDEX in 0) python setup.py install ;; 1) python setup.py install ;; esac:
parallel: true
2016-08-24 13:20:17 -04:00
test:
override:
2016-10-07 11:03:39 -04:00
- case $CIRCLE_NODE_INDEX in 0) py.test --flake8 --timeout=10 ;; 1) py.test --timeout=10 ;; esac:
2016-08-24 14:21:37 -04:00
parallel: true