Fix: specify the gcc to use on travic-ci to fix previews commit

This commit is contained in:
Yahya Lmallas 2016-01-31 15:14:40 +01:00
parent dc5775bb4d
commit f50db2e398
4 changed files with 17 additions and 4 deletions

View File

@ -1,7 +1,17 @@
language: python
python: 2.7
install: ./install.sh
language:
- python
python:
- 2.7
install:
# g++4.8.1
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
- ./install.sh
script:
- $CXX --version
- ./run_tests.sh
- ./run_tests_static.sh

Binary file not shown.

View File

@ -1,5 +1,8 @@
#include <stdio.h>
#include <fcntl.h>
#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS 1
#endif
#include <inttypes.h>
#ifndef _WIN32