.travis.yml 645 Bytes
Newer Older
AZ Huang's avatar
AZ Huang committed
1
2
3
4
5
language: c
compiler:
  - gcc

before_script:
Andrew Scheller's avatar
Andrew Scheller committed
6
  - sudo add-apt-repository -y ppa:fkrull/deadsnakes
7
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
Andrew Scheller's avatar
Andrew Scheller committed
8
  - sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
Andrew Scheller's avatar
Andrew Scheller committed
9
  - sudo apt-get update -qq
10
  - sudo apt-get install -y python3.3 python3 gcc-4.7 gcc-arm-none-eabi
AZ Huang's avatar
AZ Huang committed
11
12

script:
13
14
15
  - make -C bare-arm CC=gcc-4.7
  - make -C stmhal CC=gcc-4.7
  - make -C unix-cpy CC=gcc-4.7
16
  - make -C unix CC=gcc-4.7
Andrew Scheller's avatar
Andrew Scheller committed
17
  - cd tests && MICROPY_CPYTHON3=python3.3 ./run-tests
Andrew Scheller's avatar
Andrew Scheller committed
18

Andrew Scheller's avatar
Andrew Scheller committed
19
after_failure: for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff $testbase.exp $testbase.out; done