8000 travis: Seventh try: try to get coveralls working. · rpavlik/circuitpython@938e8df · GitHub
[go: up one dir, main page]

Skip to content

Commit 938e8df

Browse files
committed
travis: Seventh try: try to get coveralls working.
1 parent 51c89c3 commit 938e8df

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.travis.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ script:
3333
- make -C unix deplibs CC=gcc-4.7
3434
- make -C unix CC=gcc-4.7
3535
#- make -C bare-arm
36-
- make -C qemu-arm test
36+
#- make -C qemu-arm test
3737
#- make -C stmhal
3838
#- make -C stmhal -B MICROPY_PY_WIZNET5K=1 MICROPY_PY_CC3K=1
3939
#- make -C stmhal BOARD=STM32F4DISC
@@ -42,18 +42,19 @@ script:
4242
#- make -C cc3200 BTARGET=bootloader BTYPE=release
4343
- make -C windows CROSS_COMPILE=i586-mingw32msvc-
4444
- which coveralls
45+
- which gcov-4.7
4546

4647
# run tests without coverage info
47-
- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests)
48-
- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests --emit native)
48+
#- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests)
49+
#- (cd tests && MICROPY_CPYTHON3=python3.4 ./run-tests --emit native)
4950

5051
# run tests with coverage info
51-
#- make -C unix CC=gcc-4.7 coverage
52-
#- (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../unix/micropython_coverage ./run-tests)
53-
#- (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../unix/micropython_coverage ./run-tests --emit native)
52+
- make -C unix CC=gcc-4.7 6E39 coverage
53+
- (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../unix/micropython_coverage ./run-tests)
54+
- (cd tests && MICROPY_CPYTHON3=python3.4 MICROPY_MICROPYTHON=../unix/micropython_coverage ./run-tests --emit native)
5455

55-
#after_success:
56-
# - (cd unix && coveralls --root .. --build-root . --gcov $(which gcov-4.7) --gcov-options '\-o build-coverage/' --include py --include extmod)
56+
after_success:
57+
- (cd unix && coveralls --root .. --build-root . --gcov $(which gcov-4.7) --gcov-options '\-o build-coverage/' --include py --include extmod)
5758

5859
after_failure:
5960
- (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

Comments
 (0)
0