.travis.yml 622 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
  - make -C unix CC=gcc-4.7
  - make -C unix-cpy CC=gcc-4.7
15
16
  - make -C bare-arm
  - make -C stmhal
17
  - (cd tests && MICROPY_CPYTHON3=python3.3 ./run-tests || for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff $testbase.exp $testbase.out; done && exit 1)