forked from Dioptas/Dioptas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
36 lines (34 loc) · 1.3 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
## Customize the test machine
machine:
environment:
CONDA_ROOT: /home/ubuntu/miniconda
TEST_ENV_NAME: test-env
TEST_ENV_PREFIX: /home/ubuntu/miniconda/envs/test-env
PATH: ${CONDA_ROOT}/bin:${PATH}
PYTHONPATH: $PWD/Dioptas/dioptas:$PYTHONPATH
## Customize dependencies
dependencies:
cache_directories:
- "~/miniconda"
override:
# Download/install conda (if not already cached)
- if [ ! -d $CONDA_ROOT ]; then
echo "Installing Miniconda...";
wget --quiet https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh &&
bash Miniconda-latest-Linux-x86_64.sh -b -p ${CONDA_ROOT};
export PATH=/home/ubuntu/miniconda/bin:$PATH;
conda install --yes pip numpy pillow scipy pandas dateutil nose h5py pyqt;
conda install --yes scikit-image cython future qtpy;
conda config --add channels cprescher;
conda install --yes pyfai pyqtgraph lmfit fabio pycifrw;
pip install mock pytest pytest-cov pycifrw pyepics;
else
echo "Using cached Miniconda install";
export PATH=/home/ubuntu/miniconda/bin:$PATH;
fi
## Customize test commands
test:
override:
- py.test dioptas/tests/unit_tests
- py.test dioptas/tests/controller_tests
- py.test dioptas/tests/functional_tests