1
+ sudo : false
1
2
language : c
2
3
compiler :
3
4
- gcc
4
5
5
- before_script :
6
- - sudo add-apt-repository -y ppa:fkrull/deadsnakes
7
- - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
8
- - sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
9
- - sudo apt-get update -qq
10
- - sudo apt-get install -y python3.4 python3 gcc-4.7 gcc-multilib gcc-arm-none-eabi qemu-system mingw32
11
- # For teensy build
12
- - sudo apt-get install realpath
13
- # For coverage testing
14
- - sudo pip install cpp-coveralls
6
+ addons :
7
+ apt :
8
+ sources :
9
+ - deadsnakes
10
+ - ubuntu-toolchain-r-test
11
+ packages :
12
+ - python3
13
+ - python3.4
14
+ - gcc-4.7
15
+ - gcc-multilib
16
+ - gcc-arm-none-eabi
17
+ - qemu-system
18
+ - mingw32
19
+
20
+ # before_script:
21
+ # - sudo add-apt-repository -y ppa:fkrull/deadsnakes
22
+ # - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
23
+ # - sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
24
+ # - sudo apt-get update -qq
25
+ # - sudo apt-get install -y python3.4 python3 gcc-4.7 gcc-multilib gcc-arm-none-eabi qemu-system mingw32
26
+ # # For teensy build
27
+ # - sudo apt-get install realpath
28
+ # # For coverage testing
29
+ # - sudo pip install cpp-coveralls
15
30
16
31
script :
17
32
- make -C minimal test
@@ -28,16 +43,16 @@ script:
28
43
- make -C windows CROSS_COMPILE=i586-mingw32msvc-
29
44
30
45
# run tests without coverage info
31
- # - (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests)
32
- # - (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests --emit native)
46
+ - (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests)
47
+ - (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests --emit native)
33
48
34
49
# run tests with coverage info
35
50
- make -C unix CC=gcc-4.7 coverage
36
- - (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../unix/micropython_coverage ./run-tests)
37
- - (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../unix/micropython_coverage ./run-tests --emit native)
51
+ # - (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../unix/micropython_coverage ./run-tests)
52
+ # - (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../unix/micropython_coverage ./run-tests --emit native)
38
53
39
- after_success :
40
- - (cd unix && coveralls --root .. --build-root . --gcov $(which gcov-4.7) --gcov-options '\-o build-coverage/' --include py --include extmod)
54
+ # after_success:
55
+ # - (cd unix && coveralls --root .. --build-root . --gcov $(which gcov-4.7) --gcov-options '\-o build-coverage/' --include py --include extmod)
41
56
42
57
after_failure :
43
58
- (cd tests && for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff -u $testbase.exp $testbase.out; done)
0 commit comments