forked from trigrass2/plcopen_motion_control
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (50 loc) · 1.07 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
sudo: required
dist: bionic
services:
- docker
language: cpp
compiler: gcc
notifications:
email:
recipients:
addons:
apt:
packages:
- doxygen
before_install:
- sudo apt-get update -qq
- sudo apt-get -qq install graphviz
- sudo apt-get -qq install libeigen3-dev
- sudo apt-get -qq install python-matplotlib python-numpy python2.7-dev python-tk
- python -c 'import matplotlib.pyplot'
before_script:
- export CXXFLAGS="-std=c++11"
- cd ~ && git clone https://github.com/google/googletest.git
- cd googletest && mkdir build
- cd build
- cmake .. -DBUILD_SHARED_LIBS=ON
- sudo make install
- echo $PWD
script:
- cd $TRAVIS_BUILD_DIR
- mkdir build
- cd build
- cmake .. -DTEST=ON
- make
- ./function_block_test
- ./online_scurve_test
- ./offline_scurve_test
- ./planner_test
- cd ..
- rm -rf build
- doxygen ./Doxyfile
after_success:
- touch build/html/.nojekyll
deploy:
# Deploy to gh-pages branch
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
local_dir: ./build/html
on:
branch: master