-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
56 lines (53 loc) · 1.28 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
# Modified from https://github.com/ColinPitrat/caprice32/blob/fed782e5a05180a90049360f60755f356d79634d/.travis.yml
language: cpp
# safelist
branches:
only:
- master
- dev
#To uncomment in case a core occurs:
#sudo: required
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- git
- ca-certificates
- wget
- make
- patch
- gcc
- bzip2
- unzip
- g++
- texinfo
- bison
- flex
- libboost-dev
- libncurses-dev
- astyle
- zlib1g-dev
#To uncomment in case a core occurs:
# - gdb
before_script:
# Build and test both in release and debug to ensure both works fine
script:
#To uncomment in case a core occurs:
# - ulimit -c unlimited
# - sudo sysctl kernel.core_pattern=core
- pwd
- ls -al
- make displayhelp
# - make -j2 hello_world_using_z88dk
- make -j2 hello_world_using_sdcc
- make -j2 hello_world_using_sdcc-all
- make -j2 cpcrslib
- make -j2 cpcrslib-all
- make -j2 sdcc-all
- make -j2 test-custom-project
- make -j2 -C maintainer-tools/my_cdct_project all cdt bin dsk voc
#To uncomment in case a core occurs:
# - find ./ -name 'core*'
# - for i in $(find ./ -name 'core*' -print); do gdb ./test/test_runner $i -ex "thread apply all bt" -ex "set pagination 0" -batch; done;