add yml file

This commit is contained in:
xiongziliang 2017-05-02 23:43:33 +08:00
parent 74d3a75bbb
commit d014ba12a2

19
.travis.yml Normal file
View File

@ -0,0 +1,19 @@
language: cpp
sudo: required
dist: trusty
compiler:
- clang
os:
- linux
before_install:
- sudo apt-get install libssl-dev
- sudo apt-get install libmysqlclient-dev
script:
- mkdir -p build
- cd build
- cmake ..
- make
- sudo make install