Merge pull request #451 from mithro/multi-os
Add multiple Python versions, Windows and Mac to Travis CI testing
This commit is contained in:
commit
bc26af0d47
33
.travis.yml
33
.travis.yml
|
@ -1,6 +1,31 @@
|
||||||
|
jobs:
|
||||||
|
include:
|
||||||
|
- os: linux
|
||||||
|
dist: xenial
|
||||||
|
language: python
|
||||||
|
python: "3.5"
|
||||||
|
- os: linux
|
||||||
|
dist: xenial
|
||||||
language: python
|
language: python
|
||||||
dist: Xenial
|
|
||||||
python: "3.6"
|
python: "3.6"
|
||||||
|
- os: linux
|
||||||
|
dist: xenial
|
||||||
|
language: python
|
||||||
|
python: "3.7"
|
||||||
|
- os: linux
|
||||||
|
dist: xenial
|
||||||
|
language: python
|
||||||
|
python: "3.8"
|
||||||
|
- os: osx
|
||||||
|
osx_image: xcode10.2 # Includes Python 3.7
|
||||||
|
language: shell
|
||||||
|
- 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
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# Get Migen / LiteX / Cores
|
# Get Migen / LiteX / Cores
|
||||||
|
@ -15,8 +40,10 @@ before_script:
|
||||||
# Get RISC-V toolchain
|
# Get RISC-V toolchain
|
||||||
- cd ~/
|
- cd ~/
|
||||||
- python3 litex_setup.py gcc
|
- python3 litex_setup.py gcc
|
||||||
- export PATH=$PATH:$PWD/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14/bin/
|
- ls $PWD/riscv64-*/bin/
|
||||||
|
- export PATH=$PATH:$(echo $PWD/riscv64-*/bin/)
|
||||||
|
- riscv64-unknown-elf-gcc --version
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd $TRAVIS_BUILD_DIR
|
- cd $TRAVIS_BUILD_DIR
|
||||||
- python setup.py test
|
- python3 setup.py test
|
||||||
|
|
Loading…
Reference in New Issue