8000 travis: First try at getting new Travis infrastructure running. · schlafsack/circuitpython@42a2c65 · GitHub
[go: up one dir, main page]

Skip to content

Commit 42a2c65

Browse files
committed
travis: First try at getting new Travis infrastructure running.
1 parent 764f1e4 commit 42a2c65

File tree

1 file changed

+31
-16
lines changed

1 file changed

+31
-16
lines changed

.travis.yml

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,32 @@
1+
sudo: false
12
language: c
23
compiler:
34
- gcc
45

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
1530

1631
script:
1732
- make -C minimal test
@@ -28,16 +43,16 @@ script:
2843
- make -C windows CROSS_COMPILE=i586-mingw32msvc-
2944

3045
# 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)
3348

3449
# run tests with coverage info
3550
- 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)
3853

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)
4156

4257
after_failure:
4358
- (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