comparison .travis.yml @ 1951:5665c580081a

Force older version of capnp for this older compiler on the Linux travis image
author Chris Cannam
date Thu, 09 Aug 2018 10:56:52 +0100
parents ad6c20459552
children 7496836f8f27
comparison
equal deleted inserted replaced
1950:debd173b6905 1951:5665c580081a
18 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew update ; fi 18 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew update ; fi
19 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install polyml ; fi 19 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install polyml ; fi
20 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install qt5 ; fi 20 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install qt5 ; fi
21 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:/usr/local/opt/qt5/bin ; fi 21 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:/usr/local/opt/qt5/bin ; fi
22 - ( cd ../ ; git clone https://github.com/sandstorm-io/capnproto ) 22 - ( cd ../ ; git clone https://github.com/sandstorm-io/capnproto )
23 - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ( cd ../capnproto ; git checkout v0.6.1 ) ; fi
23 - ( cd ../capnproto/c++ ; ./setup-autotools.sh && autoreconf -i ) 24 - ( cd ../capnproto/c++ ; ./setup-autotools.sh && autoreconf -i )
24 - ( cd ../capnproto/c++ ; ./configure && make && sudo make install ) 25 - ( cd ../capnproto/c++ ; ./configure && make && sudo make install )
25 26
26 before_script: 27 before_script:
27 - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ./configure ; else ./repoint install && qmake -r sonic-visualiser.pro ; fi 28 - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ./configure ; else ./repoint install && qmake -r sonic-visualiser.pro ; fi