Skip to content

Commit 9a02305

Browse files
committed
Travis.
1 parent 94181e5 commit 9a02305

File tree

5 files changed

+15
-12
lines changed

5 files changed

+15
-12
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
install: make deps
2+
language: cpp
3+
script: make test

Makefile_targets

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
deps:
2-
sudo aptitude update
3-
sudo aptitude install build-essential
2+
sudo apt-get update
3+
sudo apt-get install aptitude
4+
sudo aptitude install -y build-essential
5+
# C and C++
6+
sudo aptitude install -y python-software-properties
47
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
5-
# C
8+
sudo aptitude update
69
sudo aptitude install -y gcc-4.8
710
sudo aptitude install -y gcc-4.8-doc
811
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50
9-
# C++
1012
sudo aptitude install -y g++-4.8
1113
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50
1214
# Fortran
13-
sudo aptitude install -y gfortran
14-
15-
sudo aptitude install -y g++
15+
sudo aptitude install -y gfortran-4.8

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
C and C++ information, cheatsheets and mini-projects.
22

3+
[![Build Status](https://travis-ci.org/cirosantilli/cpp.svg?branch=master)](https://travis-ci.org/cirosantilli/cpp)
4+
35
Based on Linux tools, but portable code is clearly separated from non-portable. Thoroughly tested on Ubuntu 12.04. Ports and reproduction reports on other systems are welcome.
46

57
# Most useful files

Vagrantfile_local.rb.example

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
# This file is gitignored.
2-
32
Box = "precise32"
43
BoxUrl = "http://files.vagrantup.com/precise32.box"
5-
6-
#Box = "debian-7.2.0"
7-
#BoxUrl = "https://dl.dropboxusercontent.com/u/197673519/debian-7.2.0.box"
4+
Hostname = "cpp"

opengl/Makefile_targets

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
deps:
2-
sudo apt-get install -y freeglut3-dev
2+
sudo aptitude update
3+
sudo aptitude install -y freeglut3-dev

0 commit comments

Comments
 (0)