File: circle.yml

package info (click to toggle)
openturns 1.11-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 64,144 kB
  • sloc: cpp: 202,072; python: 31,104; ansic: 8,352; makefile: 358; sh: 279; yacc: 123; lex: 43
file content (29 lines) | stat: -rw-r--r-- 1,364 bytes parent folder | download
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==0.3.1 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