mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
25 lines
931 B
YAML
25 lines
931 B
YAML
machine:
|
|
environment:
|
|
PATH: /home/ubuntu/miniconda/envs/test_env/bin:/home/ubuntu/miniconda/bin:$PATH
|
|
post:
|
|
- pyenv global 3.4.4 3.5.1
|
|
|
|
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
|
|
- bash .circle_miniconda.sh
|
|
- rm -rf ~/.pyenv
|
|
- rm -rf ~/virtualenvs
|
|
post:
|
|
- case $CIRCLE_NODE_INDEX in 0) pip install -r requirements-tests.txt ;; esac:
|
|
parallel: false
|
|
- case $CIRCLE_NODE_INDEX in 0) python setup.py install ;; 1) python setup.py install ;; esac:
|
|
parallel: true
|
|
|
|
test:
|
|
override:
|
|
- case $CIRCLE_NODE_INDEX in 0) py.test --flake8 --timeout=10 ;; 1) py.test --timeout=10 ;; esac:
|
|
parallel: true
|