20 lines
433 B
YAML
20 lines
433 B
YAML
|
|
language: cpp
|
|
|
|
install:
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
- sudo apt-get -qq update
|
|
- sudo apt-get install -y bison flex
|
|
- sudo apt-get install -y g++-4.8 libstdc++-4.8-dev
|
|
- 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
|
|
- which g++
|
|
- g++ -v
|
|
|
|
compiler:
|
|
- gcc
|
|
|
|
script:
|
|
- make
|
|
- make test
|