version: 0.2 #this build spec assumes the ubuntu 14.04 trusty image phases: install: commands: - sudo add-apt-repository ppa:ubuntu-toolchain-r/test - sudo apt-get update -y - sudo apt-get install gcc-6 g++-6 cmake3 -y pre_build: commands: - export CC=gcc-6 - export CXX=g++-6 build: commands: - echo Build started on `date` - ./codebuild/common-posix.sh post_build: commands: - echo Build completed on `date`