Merge pull request #486 from lurch/patch-1

Update .travis.yml to use python3.3
This commit is contained in:
Paul Sokolovsky 2014-04-15 04:58:44 +03:00
commit c1cc4a68bc
1 changed files with 6 additions and 2 deletions

View File

@ -3,8 +3,12 @@ compiler:
- gcc - gcc
before_script: before_script:
- sudo apt-get install python3 - sudo add-apt-repository -y ppa:fkrull/deadsnakes
- sudo apt-get update -qq
- sudo apt-get install -y python3.3 python3
script: script:
- make -C unix - make -C unix
- cd tests && ./run-tests basics/[a-eistuw]*.py - cd tests && MICROPY_CPYTHON3=python3.3 ./run-tests
after_failure: for exp in *.exp; do testbase=$(basename $exp .exp); echo -e "\nFAILURE $testbase"; diff $testbase.exp $testbase.out; done