forked from openturns/openturns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
29 lines (27 loc) · 1.33 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
dependencies:
override:
- test -n "${CIRCLE_PR_NUMBER}" || sudo add-apt-repository -y ppa:jonathonf/texlive-2016
- sudo apt-get update
- sudo apt-get install -y cmake gfortran bison flex libmuparser-dev liblapack-dev libxml2-dev libboost-math-dev libtbb-dev libnlopt-dev r-base-core
- sudo apt-get install -y python3-pip python3-dev python3-scipy python3-matplotlib texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra pandoc
- sudo rm -r /opt/circleci/.pyenv
- sudo pip3 install setuptools --upgrade
- pip3 install matplotlib git+https://github.com/sphinx-doc/sphinx.git numpydoc nbsphinx jupyter_client ipython --user --upgrade
# keep an eye on swig
- git clone https://github.com/swig/swig.git
- cd swig && ./autogen.sh && ./configure --prefix=$HOME/.local --without-alllang && make -j2 && make install
# use latest hmat-oss
- git clone https://github.com/jeromerobert/hmat-oss.git
- cd hmat-oss && cmake -DCMAKE_INSTALL_PREFIX=~/.local . && make install -j2
test:
override:
- SOURCE_DATE_EPOCH=1483228800 && export SOURCE_DATE_EPOCH && ./ci_support/build.sh
deployment:
staging:
branch: /.*/
commands:
- export GH_TOKEN && ./ci_support/upload_github_io.sh
release:
tag: /v.*/
commands:
- export GH_TOKEN && ./ci_support/upload_github_io.sh