slsDetectorPackage/.travis.yml
Erik Frojdh d8436da540 conda
2020-02-12 09:05:34 +01:00

49 lines
1.1 KiB
YAML

sudo: false
language: cpp
os: linux
env:
matrix:
- CONDA_PY=3.6
- CONDA_PY=3.7
- CONDA_PY=3.8
dist: trusty
install:
- sudo apt-get update
- ldd --version
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
# - export PATH="$HOME/miniconda/bin:$PATH"
- rm -f miniconda.sh
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels conda-forge
- conda config --add channels slsdetectorgroup
- conda update -n base -c defaults conda
# Useful for debugging any issues with conda
- conda info -a
- conda create -q -n testenv python=$CONDA_PY
- conda activate testenv
- conda install conda-build
- conda install anaconda-client
- conda install conda-verify
- conda-build .
script:
- CTEST_OUTPUT_ON_FAILURE=1 ctest -j 2
deploy:
provider: script
script: find $HOME/miniconda/conda-bld/${TRAVIS_OS_NAME}-64 -name "*.tar.bz2" -exec anaconda -t $CONDA_TOKEN upload --force {} \;
on:
branch: udp