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