From 5724879d56c2d17fc9794a02c539bd32572b636a Mon Sep 17 00:00:00 2001 From: Faruk D Date: Thu, 1 Mar 2018 16:43:31 +0100 Subject: [PATCH] change the build branch and update cache before installing the packages --- .travis.yml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index 96bb346..c9bae74 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,19 +3,6 @@ services: - docker language: cpp -#matrix: -# include: -# # works on Precise and Trusty -# - os: linux -# dist: xenial -# addons: -# apt: -# sources: -# - ubuntu-toolchain-r-test -# packages: -# - g++-4.9 -# - cmake - env: - CC=gcc-4.9 - CXX=g++-4.9" @@ -32,17 +19,17 @@ script: - docker exec ubuntu-build apt-get install software-properties-common -y - docker exec ubuntu-build add-apt-repository -s ppa:kernsuite/kern-3 -y - docker exec ubuntu-build apt-add-repository multiverse - - docker exec ubuntu-build apt-get -qq update && apt-get install -y git cmake g++ pkg-config libcfitsio-bin libcfitsio-dev libopenblas-base libopenblas-dev wcslib-dev wcslib-tools libglib2.0-dev libcasa-casa2 casacore-dev casacore-data casacore-tools + - docker exec ubuntu-build apt-get update -y + - docker exec ubuntu-build apt-get install -y git cmake g++ pkg-config libcfitsio-bin libcfitsio-dev libopenblas-base libopenblas-dev wcslib-dev wcslib-tools libglib2.0-dev libcasa-casa2 casacore-dev casacore-data casacore-tools - | docker exec ubuntu-build \ echo "Building SageCal" && \ cd $TRAVIS_HOME && \ - git clone -b sprint_cmake https://github.com/nlesc-dirac/sagecal.git && \ + git clone -b master https://github.com/nlesc-dirac/sagecal.git && \ cd sagecal && \ mkdir build && cd build && \ cmake .. -DENABLE_CUDA=OFF && \ make -j4 && \ - #cd $TRAVIS_BUILD_DIR && \ ls -alsrt ./dist/bin && \ ./dist/bin/sagecal