Commit 7f22660e4e68a7a96d390a9d7ada2190e65c3253

Authored by Hayk Martirosyan
1 parent 4cda2094

Travis build script

.travis.yml
@@ -7,14 +7,5 @@ dist: trusty @@ -7,14 +7,5 @@ dist: trusty
7 compiler: 7 compiler:
8 - clang 8 - clang
9 - gcc 9 - gcc
10 -# Packages  
11 -# addons:  
12 -# apt:  
13 -# packages:  
14 -# - libhiredis-dev  
15 -# - libev-dev  
16 # Build steps 10 # Build steps
17 -script:  
18 - - mkdir build  
19 - - cd build  
20 - - cmake .. && make 11 +script: make-ci.sh
README.md
@@ -2,6 +2,7 @@ redox @@ -2,6 +2,7 @@ redox
2 ====== 2 ======
3 3
4 Modern, asynchronous, and wicked fast C++11 client for Redis 4 Modern, asynchronous, and wicked fast C++11 client for Redis
  5 +[![Build Status](https://travis-ci.org/hmartiro/redox.svg?branch=feature%2Ftravis-ci)](https://travis-ci.org/hmartiro/redox)
5 6
6 Redox is a C++ interface to the 7 Redox is a C++ interface to the
7 [Redis](http://redis.io/) key-value store that makes it easy to write applications 8 [Redis](http://redis.io/) key-value store that makes it easy to write applications
make-ci.sh 0 → 100755
  1 +#!/usr/bin/env bash
  2 +set -e
  3 +sudo apt-get install libhiredis-dev libev-dev
  4 +mkdir -p build
  5 +cd build
  6 +cmake ..
  7 +time make
  8 +cd ..