-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
67 lines (61 loc) · 1.34 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
58
59
60
61
62
63
64
65
66
67
dist: trusty
language: c
compiler: gcc
# build all branches
branches:
only:
- /.*/
stages:
- build
- test
before_install:
# needed for compiling 32bit software on 64bit machine
- sudo apt-get update
- sudo apt-get install gcc-multilib
jobs:
include:
# cFE v6.5 test cases
- stage: test
name: 'build_6.5_simple'
script:
- . ./ci/fetchCFE.sh
- . ./ci/buildSimpleExample.sh
- stage: test
name: "build_6.5_sgp4"
script:
- . ./ci/fetchCFE.sh
- . ./ci/buildSGP4Example.sh
- stage: test
name: "run_6.5_eci_unit_tests"
script:
- . ./ci/fetchCFE.sh
- . ./ci/runECIUnitTest.sh
- stage: test
name: "run_6.5_sgp4_unit_tests"
script:
- . ./ci/fetchCFE.sh
- . ./ci/runSGP4UnitTest.sh
# cFE v6.6+ test cases
- stage: test
name: "build_6.6_simple"
script:
- cmake ./ci/simple_app
- make -C ./cfs
- stage: test
name: "build_6.6_sgp4"
script:
- cmake ./ci/sgp4
- make -C ./cfs
- stage: deploy
script:
- sudo apt-get install doxygen
- cd doc/
- doxygen Doxyfile
deploy:
provider: pages
skip_cleanup: true
keep_history: true
github_token: $GH_PAGES_TOKEN
on:
branch: master
local_dir: doc/docs/html