Commit 26cf7433 authored by Tiago Peixoto's avatar Tiago Peixoto

Include tests in .gitlab-ci.yml

parent d7de874d
job_gcc:
script:
- ./autogen.sh
- ./configure CXX="ccache g++" PYTHON=python3 --with-boost-python=py34
- ./configure CXX="ccache g++" PYTHON=python3 --with-boost-python=py34 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages
- CCACHE_BASEDIR=$PWD make
- make install
- export PYTHONPATH=$PWD/install/site-packages
- cd doc; OMP_NUM_THREADS=1 python3 /usr/bin/sphinx-build -b doctest . build *.rst
job_clang:
script:
- ./autogen.sh
- ./configure CXX="ccache clang++" PYTHON=python3 --with-boost-python=py34
- ./configure CXX="ccache clang++" PYTHON=python3 --with-boost-python=py34 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages
- CCACHE_BASEDIR=$PWD make
- make install
- export PYTHONPATH=$PWD/install/site-packages
- cd doc; OMP_NUM_THREADS=1 python3 /usr/bin/sphinx-build -b doctest . build *.rst
job_gcc_py2:
script:
- ./autogen.sh
- ./configure CXX="ccache g++" PYTHON=python2
- ./configure CXX="ccache g++" PYTHON=python2 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages
- CCACHE_BASEDIR=$PWD make
- make install
- export PYTHONPATH=$PWD/install/site-packages
- cd doc; OMP_NUM_THREADS=1 python2 /usr/bin/sphinx-build -b doctest . build *.rst
job_clang_py2:
script:
- ./autogen.sh
- ./configure CXX="ccache clang++" PYTHON=python2
- CCACHE_BASEDIR=$PWD make
\ No newline at end of file
- ./configure CXX="ccache clang++" PYTHON=python2 --prefix=$PWD/install --with-python-module-path=$PWD/install/site-packages
- CCACHE_BASEDIR=$PWD make
- make install
- export PYTHONPATH=$PWD/install/site-packages s ~/.local/lib/python3.4/site-packages/
- cd doc; OMP_NUM_THREADS=1 python2 /usr/bin/sphinx-build -b doctest . build *.rst
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment