This repository has been archived by the owner on Dec 11, 2021. It is now read-only.
forked from pantheon-systems/tx_clients
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
48 lines (45 loc) · 1.36 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
machine:
python:
version: 2.7.10
post:
- test -d $HOME/miniconda || wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O ~/miniconda.sh
- test -d $HOME/miniconda || bash ~/miniconda.sh -b -p $HOME/miniconda
environment:
PATH: "$HOME/miniconda/bin:$PATH"
dependencies:
override:
- conda update -y conda
- conda install -y conda-build==1.21.7
- conda install -y anaconda-client
- conda config --add channels https://conda.anaconda.org/t/$ANACONDA_CLOUD_REPO_TOKEN/$ANACONDA_CLOUD_ORGANIZATION
- conda config --set anaconda_upload no
- pip install setuptools --upgrade
- pip install coveralls
- pip install flake8
- pip install pylint
- pip install functools32
- pip install mock
- pip install bumpversion
- pip install backports.functools_lru_cache
- pip install -r requirements.txt
cache_directories:
- ~/miniconda
test:
override:
- make flake8
- python setup.py develop
- make test
- make lint
- python setup.py develop --uninstall
- conda build --check recipe
- conda build --build-only recipe
- conda build --post recipe
- conda build --test recipe --no-anaconda-upload
- cp .coverage $CIRCLE_ARTIFACTS
- coveralls
deployment:
release:
branch: master
commands:
- make circle_deploy_conda
- make circle_deploy_pypi