change the build branch and update cache before installing the packages
This commit is contained in:
parent
8024b9217f
commit
5724879d56
19
.travis.yml
19
.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
|
||||
|
||||
|
|
Loading…
Reference in New Issue