comparison .travis.yml @ 1975:18fb91db5311 c++14

Forgot a sudo
author Chris Cannam
date Fri, 31 Aug 2018 12:16:59 +0100
parents b7af36ebafe0
children 810a0b8f5472
comparison
equal deleted inserted replaced
1973:b7af36ebafe0 1975:18fb91db5311
18 before_install: 18 before_install:
19 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew update ; fi 19 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew update ; fi
20 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install polyml ; fi 20 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install polyml ; fi
21 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install qt5 ; fi 21 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install qt5 ; fi
22 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:/usr/local/opt/qt5/bin ; fi 22 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:/usr/local/opt/qt5/bin ; fi
23 - if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then for x in g++ gcc gcc-ar gcc-nm gcc-ranlib ; do sudo ln -sf /usr/bin/$x-4.9 /usr/bin/$x ; ln -sf /usr/bin/x86_64-linux-gnu-gcc-$x-4.9 /usr/bin/x86_64-linux-gnu-gcc-$x ; done; fi 23 - if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then for x in g++ gcc gcc-ar gcc-nm gcc-ranlib ; do sudo ln -sf /usr/bin/$x-4.9 /usr/bin/$x ; sudo ln -sf /usr/bin/x86_64-linux-gnu-gcc-$x-4.9 /usr/bin/x86_64-linux-gnu-gcc-$x ; done; fi
24 - ( cd ../ ; git clone https://github.com/sandstorm-io/capnproto ) 24 - ( cd ../ ; git clone https://github.com/sandstorm-io/capnproto )
25 - ( cd ../capnproto/c++ ; autoreconf -i ) 25 - ( cd ../capnproto/c++ ; autoreconf -i )
26 - ( cd ../capnproto/c++ ; ./configure && make && sudo make install ) 26 - ( cd ../capnproto/c++ ; ./configure && make && sudo make install )
27 27
28 before_script: 28 before_script: