travis: add back test on python3.5 (python3.6 is recommended but we can try to keep...
[litex.git] / .travis.yml
1 jobs:
2 include:
3 - os: linux
4 dist: xenial
5 language: python
6 python: "3.5"
7 - os: linux
8 dist: xenial
9 language: python
10 python: "3.6"
11 - os: linux
12 dist: xenial
13 language: python
14 python: "3.7"
15 - os: linux
16 dist: xenial
17 language: python
18 python: "3.8"
19 - os: osx
20 osx_image: xcode10.2 # Includes Python 3.7
21 language: shell
22 - os: windows
23 language: shell
24 before_install:
25 - choco info python3
26 - choco install python3
27 - export PATH=/c/Python38/:$PATH
28 - cp -a /c/Python38/python.exe /c/Python38/python3.exe
29 allow_failures:
30 - os: windows
31 language: shell
32
33 install:
34 # Get Migen / LiteX / Cores
35 - cd ~/
36 - cp $TRAVIS_BUILD_DIR/litex_setup.py .
37 - python3 litex_setup.py init install
38 # Install the LiteX version being tested
39 - cd $TRAVIS_BUILD_DIR
40 - python3 setup.py install
41
42 before_script:
43 # Get RISC-V toolchain
44 - cd ~/
45 - python3 litex_setup.py gcc
46 - ls $PWD/riscv64-*/bin/
47 - export PATH=$PATH:$(echo $PWD/riscv64-*/bin/)
48 - riscv64-unknown-elf-gcc --version
49
50 script:
51 - cd $TRAVIS_BUILD_DIR
52 - python3 setup.py test