forked from mikaem/fenicstools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
33 lines (30 loc) · 1.02 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
machine:
environment:
CONDA_ROOT: /home/ubuntu/miniconda
PATH: ${CONDA_ROOT}/bin:${PATH}
FENICS_VERSION: 2017.1.dev
dependencies:
cache_directories:
- /home/ubuntu/miniconda
override:
- >
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};
else
echo "Using cached Miniconda install";
fi
- conda config --set always_yes yes
- conda config --add channels mikaem
- conda config --add channels conda-forge
- conda config --add channels mikaem/label/docker-conda-gcc
- conda update -q conda
- conda install -n root --yes --quiet conda-build
- conda install --yes --quiet conda-forge-build-setup
- source run_conda_forge_build_setup
test:
override:
- |
conda build conf/conda
upload_or_check_non_existence ./conf/conda mikaem --channel main || exit 1