forked from santosjorge/cufflinks
-
Notifications
You must be signed in to change notification settings - Fork 8
/
circle.yml
33 lines (27 loc) · 995 Bytes
/
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
machine:
environment:
PACKAGE_ROOT: /home/ubuntu/cufflinks
PLOTLY_CONFIG_DIR: ${HOME}/.plotly
PLOTLY_PYTHON_VERSIONS: 2.7.8 3.4.1
CORE_REQUIREMENTS_FILE: ${PACKAGE_ROOT}/requirements.txt
dependencies:
override:
# run all the pre-written installers (this will take a *while*)
# - wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
# - tar xvzf ta-lib-0.4.0-src.tar.gz
# - cd ta-lib && ./configure --prefix=/usr
# - cd ta-lib && make
# - cd ta-lib && sudo make install
- bash circle/setup.sh
# install testing tools for circle's version of things
- pip install nose coverage
- pip install -I .
# we need to cd out of the project root to ensure the install worked
- cd ~ && python -c "import plotly"
cache_directories:
- "~/.pyenv/versions" # attempt to just cache installed pyenv things
# - "ta-lib"
test:
override:
# run test suite in all our python versions
- bash circle/test.sh