-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (37 loc) · 1.41 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
language: c
os: linux
dist: trusty
sudo: false
notifications:
email: false
cache:
apt: true
directories:
- $HOME/test/googletest
- $HOME/gcc-arm-none-eabi-7-2017-q4-major
addons:
apt:
packages:
- doxygen
- qemu
git:
depth: 3
submodules: false
install:
- ls ~
- pwd
- if [ ! -d $HOME/gcc-arm-none-eabi-7-2017-q4-major/bin ]; then wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2017q4/gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2?revision=375265d4-e9b5-41c8-bf23-56cbe927e156?product=GNU%20Arm%20Embedded%20Toolchain,64-bit,,Linux,7-2017-q4-major --output-document=gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2 --quiet && tar -xjf gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2 -C ~; fi
- rm -rf test/googletest
- if [ -d $HOME/test/googletest/build ]; then ln -s $HOME/test/googletest $TRAVIS_BUILD_DIR/test/googletest; else cd test && git clone -b gtest-real https://github.com/culshoefer/googletest-prebuilt.git && mv googletest-prebuilt/gtest googletest && ls googletest && mv googletest/googletest googletest/gtest && cd .. && mkdir -p $HOME/test && cp -r $TRAVIS_BUILD_DIR/test/googletest $HOME/test; fi
env:
-GTEST=$TRAVIS_BUILD_DIR/test/googletest/gtest/include
-LIBGTEST=$TRAVIS_BUILD_DIR/test/googletest/build/googlemock/gtest/libgtest.a
script:
- which doxygen
- ls $GTEST
- ls $LIBGTEST
- make md5
- make ci -j2
branches:
only:
- master