2017-05-02 23:43:33 +08:00
|
|
|
language: cpp
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get install libssl-dev
|
|
|
|
- sudo apt-get install libmysqlclient-dev
|
2017-05-02 23:48:37 +08:00
|
|
|
- sudo apt-get install libx264-dev
|
|
|
|
- sudo apt-get install libfaac-dev
|
|
|
|
- sudo apt-get install libmp4v2-dev
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GIT_REPO=https://github.com/xiongziliang/ZLToolKit.git
|
2017-05-02 23:43:33 +08:00
|
|
|
script:
|
2017-05-02 23:48:37 +08:00
|
|
|
- git clone --depth=50 $GIT_REPO
|
|
|
|
- cd ZLToolKit
|
|
|
|
- mkdir -p build
|
|
|
|
- cd build
|
|
|
|
- cmake ..
|
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
- cd ../../
|
2017-05-02 23:43:33 +08:00
|
|
|
- mkdir -p build
|
|
|
|
- cd build
|
|
|
|
- cmake ..
|
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
|
|
|
|
|
|
|
|
|