2020-04-06 14:47:12 -04:00
|
|
|
jobs:
|
|
|
|
include:
|
2020-04-06 20:52:07 -04:00
|
|
|
- os: linux
|
|
|
|
dist: xenial
|
|
|
|
language: python
|
2020-04-06 14:47:12 -04:00
|
|
|
python: "3.6"
|
2020-04-06 20:52:07 -04:00
|
|
|
- os: linux
|
|
|
|
dist: xenial
|
|
|
|
language: python
|
|
|
|
python: "3.7"
|
|
|
|
- os: linux
|
|
|
|
dist: xenial
|
|
|
|
language: python
|
|
|
|
python: "3.8"
|
2020-04-06 14:47:12 -04:00
|
|
|
- os: osx
|
|
|
|
osx_image: xcode10.2 # Includes Python 3.7
|
|
|
|
language: shell
|
2020-04-09 02:14:26 -04:00
|
|
|
- os: windows
|
|
|
|
language: shell
|
|
|
|
before_install:
|
|
|
|
- choco info python3
|
|
|
|
- choco install python3
|
|
|
|
- export PATH=/c/Python38/:$PATH
|
|
|
|
- cp -a /c/Python38/python.exe /c/Python38/python3.exe
|
|
|
|
allow_failures:
|
|
|
|
- os: windows
|
|
|
|
language: shell
|
2018-03-03 19:20:27 -05:00
|
|
|
|
|
|
|
install:
|
2019-04-22 02:32:00 -04:00
|
|
|
# Get Migen / LiteX / Cores
|
2020-04-06 14:38:23 -04:00
|
|
|
- cd ~/
|
2020-05-20 05:24:57 -04:00
|
|
|
- pip3 install requests
|
2020-04-09 02:12:41 -04:00
|
|
|
- cp $TRAVIS_BUILD_DIR/litex_setup.py .
|
2019-04-22 02:32:00 -04:00
|
|
|
- python3 litex_setup.py init install
|
2020-04-07 04:55:58 -04:00
|
|
|
# Install the LiteX version being tested
|
2020-04-06 14:38:23 -04:00
|
|
|
- cd $TRAVIS_BUILD_DIR
|
|
|
|
- python3 setup.py install
|
2018-03-03 19:20:27 -05:00
|
|
|
|
2018-03-03 19:46:38 -05:00
|
|
|
before_script:
|
2019-04-22 02:32:00 -04:00
|
|
|
# Get RISC-V toolchain
|
2020-04-06 19:54:25 -04:00
|
|
|
- cd ~/
|
|
|
|
- python3 litex_setup.py gcc
|
2020-04-06 14:47:12 -04:00
|
|
|
- ls $PWD/riscv64-*/bin/
|
|
|
|
- export PATH=$PATH:$(echo $PWD/riscv64-*/bin/)
|
|
|
|
- riscv64-unknown-elf-gcc --version
|
2018-03-03 19:46:38 -05:00
|
|
|
|
2020-04-06 19:54:25 -04:00
|
|
|
script:
|
|
|
|
- cd $TRAVIS_BUILD_DIR
|
2020-04-06 14:47:12 -04:00
|
|
|
- python3 setup.py test
|