Skip to content

Commit 5856e78

Browse files
committed
Add travis.yml
1 parent d002a99 commit 5856e78

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.travis.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
language: cpp
2+
3+
sudo: false
4+
5+
addons:
6+
apt:
7+
sources:
8+
- ubuntu-toolchain-r-test
9+
- llvm-toolchain-precise-3.7
10+
- george-edison55-precise-backports
11+
packages:
12+
- gcc-5
13+
- g++-5
14+
- clang-3.7
15+
- cmake
16+
- cmake-data
17+
- libsparsehash-dev
18+
19+
matrix:
20+
include:
21+
- os: linux
22+
compiler: gcc
23+
env: CCC=gcc-5 CCXX=g++-5
24+
- os: linux
25+
compiler: clang
26+
env: CCC=clang-3.7 CCXX=clang++-3.7
27+
28+
before_script:
29+
- export CC=$CCC CXX=$CCXX
30+
- mkdir build
31+
- cd build
32+
- cmake --version
33+
- cmake ..
34+
35+
script: make && ctest

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# HashMap.h
22

3+
[![Build Status](https://travis-ci.org/rigtorp/HashMap.svg?branch=master)](https://travis-ci.org/rigtorp/HashMap)
4+
35
A hash table mostly compatible with the C++11 *std::unordered_map*
46
interface, but with much higher performance.
57

0 commit comments

Comments
 (0)