-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
richelbilderbeek
committed
Mar 16, 2016
1 parent
1055707
commit fe0b4ff
Showing
8 changed files
with
92 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Compiled Object files | ||
*.slo | ||
*.lo | ||
*.o | ||
*.obj | ||
|
||
# Precompiled Headers | ||
*.gch | ||
*.pch | ||
|
||
# Compiled Dynamic libraries | ||
*.so | ||
*.dylib | ||
*.dll | ||
|
||
# Fortran module files | ||
*.mod | ||
|
||
# Compiled Static libraries | ||
*.lai | ||
*.la | ||
*.a | ||
*.lib | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
*.gcda | ||
Makefile | ||
*.gcov | ||
*.gcda | ||
*.gcno | ||
*qmake_gcov | ||
*.pro.user | ||
travis_qmake_gcc_cpp98_gcov | ||
travis_qmake_gcc_cpp98 | ||
travis_qmake_gcc_cpp98_boost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
sudo: true | ||
language: cpp | ||
compiler: gcc | ||
before_install: | ||
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test | ||
- sudo apt-get update -qq | ||
install: sudo apt-get install -qq g++-5 | ||
addons: | ||
apt: | ||
packages: libboost-all-dev | ||
script: ./build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
# travis_qmake_gcc_cpp11_boost | ||
Minimal project that uses qmake, GCC, C++11, Boost and is tested by Travis CI | ||
|
||
[![Travis CI logo](TravisCI.png)](https://travis-ci.org) | ||
|
||
[![Build Status](https://travis-ci.org/richelbilderbeek/travis_qmake_gcc_cpp11_boost.svg?branch=master)](https://travis-ci.org/richelbilderbeek/travis_qmake_gcc_cpp11_boost) | ||
|
||
This GitHub is part of [the Travis C++ Tutorial](https://github.com/richelbilderbeek/travis_cpp_tutorial). | ||
|
||
The goal of this project is to have a clean Travis CI build, with specs: | ||
* Build system: `qmake` | ||
* C++ compiler: `gcc` | ||
* C++ version: `C++11` | ||
* Libraries: `STL` and `Boost` | ||
* Code coverage: none | ||
* Source: one single file, `main.cpp` | ||
|
||
Simpler builds: | ||
* Libraries: `STL` only: [travis_qmake_gcc_cpp11](https://www.github.com/richelbilderbeek/travis_qmake_gcc_cpp11) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
qmake | ||
make | ||
./travis_qmake_gcc_cpp11_boost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
rm *.o | ||
rm Makefile | ||
rm *.pro.user | ||
rm travis_qmake_gcc_cpp11_boost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include <boost/graph/adjacency_list.hpp> | ||
|
||
int main() { | ||
boost::adjacency_list<> g; | ||
boost::add_vertex(g); | ||
if (boost::num_vertices(g) != 1) return 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
TEMPLATE = app | ||
CONFIG += console | ||
CONFIG -= app_bundle qt | ||
SOURCES += main.cpp | ||
QMAKE_CXXFLAGS += -Wall -Wextra -Weffc++ -Werror | ||
|
||
QMAKE_CXX = g++-5 | ||
QMAKE_LINK = g++-5 | ||
QMAKE_CC = gcc-5 | ||
QMAKE_CXXFLAGS += -std=c++11 |