Skip to content
Snippets Groups Projects
Commit 7986d366 authored by armatusmiles's avatar armatusmiles
Browse files

Add gcc5 support to travis

parent 8d2b9251
No related branches found
No related tags found
No related merge requests found
sudo: required
language: cpp language: cpp
compiler: gcc
dist: trusty dist: trusty
notifications: notifications:
email: false email: false
...@@ -11,9 +13,17 @@ before_install: ...@@ -11,9 +13,17 @@ before_install:
- source /opt/qt510/bin/qt510-env.sh - source /opt/qt510/bin/qt510-env.sh
script: script:
- export CC=gcc-5
- mkdir build - mkdir build
- cd build - cd build
- cmake ../ - cmake ../
- make libdap-test - make libdap-test
- ./test/libdap-test - ./test/libdap-test
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
...@@ -4,8 +4,7 @@ project(libdap C) ...@@ -4,8 +4,7 @@ project(libdap C)
# fix implicit declaration warnings # fix implicit declaration warnings
add_definitions ("-D_GNU_SOURCE") add_definitions ("-D_GNU_SOURCE")
set(CMAKE_C_FLAGS "-Wall -Wextra") set(CMAKE_C_FLAGS "-std=c11 -Wall -Wextra")
set(CMAKE_C_FLAGS "-std=c11")
add_subdirectory(core) add_subdirectory(core)
add_subdirectory(crypto) add_subdirectory(crypto)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment