language: cpp
compiler:
  - gcc
#  - clang
# Install dependencies
# install: make get-deps
install: sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test && sudo apt-get -qq update && sudo apt-get -qq install g++-4.8 && sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90 && export CXX=g++ && export CC=g++ && g++ --version && gcc --version && sudo rm /usr/bin/gcc && sudo ln -s /usr/bin/g++-4.8 /usr/bin/gcc && gcc --version && cd libjl777 && make onetime
# Build and test
script: echo "Start make SuperNET" && make SuperNET && echo "Start make btcd" && make btcd
language: cpp
compiler:
  - gcc
#  - clang
# Install dependencies
# install: make get-deps
#install: sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test && sudo apt-get -qq update && sudo apt-get -qq install g++-4.8 && sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90 && export CXX=g++ && export CC=g++ && g++ --version && gcc --version && sudo rm /usr/bin/gcc && sudo ln -s /usr/bin/g++-4.8 /usr/bin/gcc && gcc --version && cd libjl777 && make onetime
install: sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test && sudo apt-get -qq update && sudo apt-get -qq install g++-4.8 && sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90 && sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90 && export CXX=gcc && export CC=g++ && g++ --version && gcc --version && sudo rm /usr/bin/gcc && sudo ln -s /usr/bin/gcc-4.8 /usr/bin/gcc && gcc --version && cd libjl777 && make onetime
# Build and test
script: echo "Start make SuperNET" && make SuperNET && echo "Start make btcd" && make btcd
Remove old gcc when compiling in Travis
Remove old gcc when compiling in Travis
