aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2021-05-24 17:24:01 +0200
committerGitHub <noreply@github.com>2021-05-24 17:24:01 +0200
commitc9dc7d5928947a5a0429a8a536beb871fc22b025 (patch)
tree80930aae18c9d7bc61f56bcf11ccff955234f939
parentb6721aa9d824ec5b4ec1c61167b53bab62fb1e01 (diff)
parentc3e65a4ce0e0f14b279441c17e76b6c2ca9a7444 (diff)
downloadyosys-c9dc7d5928947a5a0429a8a536beb871fc22b025.tar.gz
yosys-c9dc7d5928947a5a0429a8a536beb871fc22b025.tar.bz2
yosys-c9dc7d5928947a5a0429a8a536beb871fc22b025.zip
Merge pull request #2779 from YosysHQ/mwk/nuke-travis
Remove Travis CI.
-rw-r--r--.travis.yml144
-rwxr-xr-x.travis/build-and-test.sh51
-rw-r--r--.travis/common.sh15
-rwxr-xr-x.travis/deploy-after-success.sh6
-rwxr-xr-x.travis/setup.sh63
5 files changed, 0 insertions, 279 deletions
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 09f380831..000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,144 +0,0 @@
-sudo: false
-language: cpp
-
-cache:
- ccache: true
- directories:
- - ~/.local-bin
-
-
-env:
- global:
- - MAKEFLAGS="-j 2"
-
-matrix:
- include:
- # Latest gcc-4.8, earliest version supported by Travis
- - os: linux
- addons:
- apt:
- packages:
- - g++-4.8
- - gperf
- - build-essential
- - bison
- - flex
- - libreadline-dev
- - gawk
- - tcl-dev
- - libffi-dev
- - git
- - graphviz
- - xdot
- - pkg-config
- - python
- - python3
- - libboost-system-dev
- - libboost-python-dev
- - libboost-filesystem-dev
- - zlib1g-dev
- env:
- - MATRIX_EVAL="CONFIG=gcc && CC=gcc-4.8 && CXX=g++-4.8"
-
- # Latest gcc supported on Travis Linux
- - os: linux
- addons:
- apt:
- sources:
- - ubuntu-toolchain-r-test
- packages:
- - g++-9
- - gperf
- - build-essential
- - bison
- - flex
- - libreadline-dev
- - gawk
- - tcl-dev
- - libffi-dev
- - git
- - graphviz
- - xdot
- - pkg-config
- - python
- - python3
- - libboost-system-dev
- - libboost-python-dev
- - libboost-filesystem-dev
- - zlib1g-dev
- env:
- - MATRIX_EVAL="CONFIG=gcc && CC=gcc-9 && CXX=g++-9"
-
- # Clang which ships on Trusty Linux
- - os: linux
- addons:
- apt:
- sources:
- - ubuntu-toolchain-r-test
- - llvm-toolchain-precise-3.8
- packages:
- - clang-3.8
- - gperf
- - build-essential
- - bison
- - flex
- - libreadline-dev
- - gawk
- - tcl-dev
- - libffi-dev
- - git
- - graphviz
- - xdot
- - pkg-config
- - python
- - python3
- - libboost-system-dev
- - libboost-python-dev
- - libboost-filesystem-dev
- - zlib1g-dev
- env:
- - MATRIX_EVAL="CONFIG=clang && CC=clang-3.8 && CXX=clang++-3.8"
-
- # Latest clang supported by Travis Linux
- - os: linux
- addons:
- apt:
- sources:
- - llvm-toolchain-xenial-8
- packages:
- - clang-8
- - gperf
- - build-essential
- - bison
- - flex
- - libreadline-dev
- - gawk
- - tcl-dev
- - libffi-dev
- - git
- - graphviz
- - xdot
- - pkg-config
- - python
- - python3
- - libboost-system-dev
- - libboost-python-dev
- - libboost-filesystem-dev
- - zlib1g-dev
- env:
- - MATRIX_EVAL="CONFIG=clang && CC=clang-8 && CXX=clang++-8"
-
-# # Latest clang on Mac OS X
-# - os: osx
-# osx_image: xcode9.4
-# env:
-# - MATRIX_EVAL="CONFIG=clang && CC=clang && CXX=clang++"
-
-before_install:
- - ./.travis/setup.sh
-
-script:
- - ./.travis/build-and-test.sh
-
-after_success:
- - ./.travis/deploy-after-success.sh
diff --git a/.travis/build-and-test.sh b/.travis/build-and-test.sh
deleted file mode 100755
index 801407d1e..000000000
--- a/.travis/build-and-test.sh
+++ /dev/null
@@ -1,51 +0,0 @@
-#! /bin/bash
-
-set -e
-
-source .travis/common.sh
-
-##########################################################################
-
-echo
-echo 'Configuring...' && echo -en 'travis_fold:start:script.configure\\r'
-echo
-
-if [ "$CONFIG" = "gcc" ]; then
- echo "Configuring for gcc."
- make config-gcc
-elif [ "$CONFIG" = "clang" ]; then
- echo "Configuring for clang."
- make config-clang
-fi
-
-echo
-echo -en 'travis_fold:end:script.configure\\r'
-echo
-
-##########################################################################
-
-echo
-echo 'Building...' && echo -en 'travis_fold:start:script.build\\r'
-echo
-
-make CC=$CC CXX=$CC LD=$CC
-
-echo
-echo -en 'travis_fold:end:script.build\\r'
-echo
-
-##########################################################################
-
-./yosys tests/simple/fiedler-cooley.v
-
-echo
-echo 'Testing...' && echo -en 'travis_fold:start:script.test\\r'
-echo
-
-make test
-
-echo
-echo -en 'travis_fold:end:script.test\\r'
-echo
-
-##########################################################################
diff --git a/.travis/common.sh b/.travis/common.sh
deleted file mode 100644
index 8eecc4c09..000000000
--- a/.travis/common.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#! /bin/bash
-
-# Setup the CC / CXX from the matrix config
-eval "${MATRIX_EVAL}"
-
-# Look for location binaries first
-export PATH="$HOME/.local-bin/bin:$PATH"
-
-# OS X specific common setup
-if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
- export PATH="/usr/local/opt/ccache/libexec:$PATH"
-fi
-
-# Parallel builds!
-MAKEFLAGS="-j 2"
diff --git a/.travis/deploy-after-success.sh b/.travis/deploy-after-success.sh
deleted file mode 100755
index d64e95244..000000000
--- a/.travis/deploy-after-success.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#! /bin/bash
-
-set -x
-set -e
-
-# FIXME: Upload the build results somewhere...
diff --git a/.travis/setup.sh b/.travis/setup.sh
deleted file mode 100755
index 02879b974..000000000
--- a/.travis/setup.sh
+++ /dev/null
@@ -1,63 +0,0 @@
-#! /bin/bash
-
-set -e
-
-source .travis/common.sh
-
-##########################################################################
-
-# Output status information.
-(
- set +e
- set -x
- git status
- git branch -v
- git log -n 5 --graph
- git log --format=oneline -n 20 --graph
-)
-echo
-echo -en 'travis_fold:end:before_install.git\\r'
-echo
-
-##########################################################################
-
-# Mac OS X specific setup.
-if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
- (
- echo
- echo 'Setting up brew...' && echo -en 'travis_fold:start:before_install.brew\\r'
- echo
- brew update
- brew tap Homebrew/bundle
- brew bundle
- brew install ccache
- echo
- echo -en 'travis_fold:end:before_install.brew\\r'
- echo
- )
-fi
-
-##########################################################################
-
-# Install iverilog
-(
- if [ ! -e ~/.local-bin/bin/iverilog ]; then
- echo
- echo 'Building iverilog...' && echo -en 'travis_fold:start:before_install.iverilog\\r'
- echo
- mkdir -p ~/.local-src
- mkdir -p ~/.local-bin
- cd ~/.local-src
- git clone git://github.com/steveicarus/iverilog.git
- cd iverilog
- autoconf
- CC=gcc CXX=g++ ./configure --prefix=$HOME/.local-bin
- make
- make install
- echo
- echo -en 'travis_fold:end:before_install.iverilog\\r'
- echo
- fi
-)
-
-##########################################################################