Trying to run tests on multiple OS.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2020-07-11 15:14:50 -07:00 committed by Kamil Rakoczy
parent fc736813bd
commit becb5c84f6
1 changed files with 62 additions and 32 deletions

View File

@ -1,40 +1,70 @@
os: linux os: linux
dist: focal dist: focal
language: c++ language: minimal
services:
- docker
env: env:
global: # Testing QuickLogic toolchain on all OSes
- DEBIAN_FRONTEND: noninteractive - TOOLCHAIN=quicklogic OS=ubuntu OS_VERSION=trusty
addons: - TOOLCHAIN=quicklogic OS=ubuntu OS_VERSION=xenial
apt: - TOOLCHAIN=quicklogic OS=ubuntu OS_VERSION=bionic
packages: - TOOLCHAIN=quicklogic OS=ubuntu OS_VERSION=eoan
- wget - TOOLCHAIN=quicklogic OS=ubuntu OS_VERSION=focal
- locales - TOOLCHAIN=quicklogic OS=centos OS_VERSION=6
- python3-pip - TOOLCHAIN=quicklogic OS=centos OS_VERSION=7
- TOOLCHAIN=quicklogic OS=centos OS_VERSION=8
# Testing Xilinx 7 Series toolchain on all OSes
- TOOLCHAIN=xilinx-series-7 OS=ubuntu OS_VERSION=trusty
- TOOLCHAIN=xilinx-series-7 OS=ubuntu OS_VERSION=xenial
- TOOLCHAIN=xilinx-series-7 OS=ubuntu OS_VERSION=bionic
- TOOLCHAIN=xilinx-series-7 OS=ubuntu OS_VERSION=eoan
- TOOLCHAIN=xilinx-series-7 OS=ubuntu OS_VERSION=focal
- TOOLCHAIN=xilinx-series-7 OS=centos OS_VERSION=6
- TOOLCHAIN=xilinx-series-7 OS=centos OS_VERSION=7
- TOOLCHAIN=xilinx-series-7 OS=centos OS_VERSION=8
#before_install:
# - sudo locale-gen "en_US.UTF-8"
# - export LANG="en_US.UTF-8"
# - pip install git+https://github.com/antmicro/tuttest
# - tuttest README.md unnamed0 | bash -
before_install:
- sudo locale-gen "en_US.UTF-8"
- export LANG="en_US.UTF-8"
- source .github/travis/common.sh
- rm README.rst && make README.rst && .github/travis/git-check.sh
- pip install git+https://github.com/antmicro/tuttest
- tuttest README.rst wget-conda | bash -ex -
jobs:
include:
- stage: SymbiFlow
install: install:
- export INSTALL_DIR=$PWD/../opt/symbiflow/xc7 - docker create
- tuttest xc7/README.rst xc7-setup-toolchain | bash -ex - --name test
--env LANG="en_US.UTF-8"
--env DEBIAN_FRONTEND="noninteractive"
--volume /home/travis
--workdir $PWD
--interactive
--tty
$OS:$OS_VERSION
- docker start test
- docker ps
- docker exec test ps fax
- docker exec test ls -l
- docker exec test pip install git+https://github.com/antmicro/tuttest
script: script:
- export INSTALL_DIR=$PWD/../opt/symbiflow/xc7 - true
- tuttest xc7/README.rst xc7-prepare-env,xc7-counter,xc7-picosoc,xc7-litex,xc7-linux | bash -ex -
- # #jobs:
install: # include:
- export INSTALL_DIR=$PWD/../opt/symbiflow/eos-s3 # - stage: SymbiFlow
- tuttest eos-s3/README.rst eoss3-setup-toolchain | bash -ex - # install:
# - tuttest README.md unnamed1 | bash -
script: #
- export INSTALL_DIR=$PWD/../opt/symbiflow/eos-s3 # script:
- tuttest eos-s3/README.rst eoss3-prepare-env,eoss3-counter | bash -ex - # - tuttest README.md unnamed3 | bash -
# - #
# install:
# - tuttest README.md unnamed2 | bash -
#
# script:
# - tuttest README.md unnamed4 | bash -