From 1248e5e7ce878bcf3b364fc8cc135b6d62708e43 Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 2 Dec 2015 19:04:23 +0800 Subject: [PATCH] travis: disable (superseded by our buildbot). --- .travis.yml | 58 ---------------------------------------- .travis/get-anaconda.sh | 15 ----------- .travis/get-toolchain.sh | 17 ------------ .travis/get-xilinx.sh | 40 --------------------------- 4 files changed, 130 deletions(-) delete mode 100644 .travis.yml delete mode 100755 .travis/get-anaconda.sh delete mode 100755 .travis/get-toolchain.sh delete mode 100755 .travis/get-xilinx.sh diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2fa97e91d..000000000 --- a/.travis.yml +++ /dev/null @@ -1,58 +0,0 @@ -language: python -python: - - '3.5' -branches: - only: - - master -sudo: false -env: - global: - - secure: "DUk/Ihg8KbbzEgPF0qrHqlxU8e8eET9i/BtzNvFddIGX4HP/P2qz0nk3cVkmjuWhqJXSbC22RdKME9qqPzw6fJwJ6dpJ3OR6dDmSd7rewavq+niwxu52PVa+yK8mL4yf1terM7QQ5tIRf+yUL9qGKrZ2xyvEuRit6d4cFep43Ws=" - matrix: - - BUILD_SOC=none - - BUILD_SOC=pipistrello-nist_qc1 - - BUILD_SOC=kc705-nist_qc1 - - BUILD_SOC=kc705-nist_qc2 -install: - - mkdir -p $HOME/.m-labs - - if [ $TRAVIS_PULL_REQUEST != false ]; then BUILD_SOC=none; fi - - if [ $BUILD_SOC != none ]; then ./.travis/get-xilinx.sh; fi - - if [ $BUILD_SOC != none ]; then ./.travis/get-toolchain.sh; fi - - . ./.travis/get-anaconda.sh - - conda install -q pip coverage anaconda-client cython - - pip install coveralls - # workaround for https://github.com/conda/conda-build/issues/466 - - mkdir -p /home/travis/miniconda/conda-bld/linux-64 - - conda index /home/travis/miniconda/conda-bld/linux-64 -script: - - conda build conda/artiq - - conda install -q --use-local artiq - - | - if [ $BUILD_SOC == none ]; then - PACKAGES="$(conda build --output conda/artiq) $PACKAGES" - coverage run --source=artiq setup.py test - make -C doc/manual html - else - PACKAGES="$(conda build --output conda/artiq-$BUILD_SOC) $PACKAGES" - conda build conda/artiq-$BUILD_SOC - fi -after_success: - - | - if [ "$TRAVIS_BRANCH" == "master" -a "$PACKAGES" != "" ]; then - anaconda -q login --hostname $(hostname) --username $binstar_login --password $binstar_password - anaconda -q upload --user $binstar_login --channel dev $PACKAGES - anaconda -q logout - fi - - coveralls -notifications: - email: - recipients: - - rjordens@nist.gov - on_success: always - on_failure: never - irc: - channels: - - chat.freenode.net#m-labs - template: - - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}" - - "Build details : %{build_url}" diff --git a/.travis/get-anaconda.sh b/.travis/get-anaconda.sh deleted file mode 100755 index 5de258438..000000000 --- a/.travis/get-anaconda.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -# Copyright (C) 2014, 2015 Robert Jordens - -set -e - -export PATH=$HOME/miniconda/bin:$PATH -wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh -bash miniconda.sh -b -p $HOME/miniconda -hash -r -conda config --set always_yes yes --set changeps1 no -conda update -q conda -conda info -a -conda install conda-build jinja2 -conda config --add channels https://conda.anaconda.org/m-labs/channel/main -conda config --add channels https://conda.anaconda.org/m-labs/channel/dev diff --git a/.travis/get-toolchain.sh b/.travis/get-toolchain.sh deleted file mode 100755 index e7a61a91d..000000000 --- a/.travis/get-toolchain.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -set -e - -packages="http://us.archive.ubuntu.com/ubuntu/pool/universe/i/iverilog/iverilog_0.9.7-1_amd64.deb" - -mkdir -p packages - -for p in $packages -do - wget $p - pkg_name=$(echo $p | sed -e 's!.*/\(.*\)\.deb!\1\.deb!') - dpkg -x $pkg_name packages -done - -echo "export LD_LIBRARY_PATH=$PWD/packages/usr/lib/x86_64-linux-gnu" >> $HOME/.m-labs/build_settings.sh -echo "export PATH=$PWD/packages/usr/bin:\$PATH" >> $HOME/.m-labs/build_settings.sh diff --git a/.travis/get-xilinx.sh b/.travis/get-xilinx.sh deleted file mode 100755 index 8ea50d25e..000000000 --- a/.travis/get-xilinx.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# Copyright (C) 2014, 2015 M-Labs Limited -# Copyright (C) 2014, 2015 Robert Jordens - -set -e - -wget http://sionneau.net/artiq/Xilinx/xilinx_ise_14.7_s3_s6.tar.gz.gpg -echo "$secret" | gpg --passphrase-fd 0 xilinx_ise_14.7_s3_s6.tar.gz.gpg -tar -C $HOME/ -xzf xilinx_ise_14.7_s3_s6.tar.gz -wget http://sionneau.net/artiq/Xilinx/Xilinx_Vivado_2015_1_k7.tar.gz.gpg -echo "$secret" | gpg --passphrase-fd 0 Xilinx_Vivado_2015_1_k7.tar.gz.gpg -tar -C $HOME/ -xzf Xilinx_Vivado_2015_1_k7.tar.gz - -# Relocate Vivado from /opt to $HOME -for i in $(grep -Rsn "/opt/Xilinx" $HOME/Xilinx | cut -d':' -f1) -do - sed -i -e "s!/opt!$HOME!g" $i -done - -# Relocate ISE from /opt to $HOME -for i in $(grep -Rsn "/opt/Xilinx" $HOME/opt | cut -d':' -f1) -do - sed -i -e "s!/opt/Xilinx!$HOME/opt/Xilinx!g" $i -done - -wget http://sionneau.net/artiq/Xilinx/Xilinx.lic.gpg -echo "$secret" | gpg --passphrase-fd 0 Xilinx.lic.gpg -mkdir -p ~/.Xilinx -mv Xilinx.lic ~/.Xilinx/Xilinx.lic - -git clone https://github.com/m-labs/impersonate_macaddress -make -C impersonate_macaddress -# Tell mibuild where Xilinx toolchains are installed -# and feed it the mac address corresponding to the license -cat >> $HOME/.m-labs/build_settings.sh << EOF -MISOC_EXTRA_ISE_CMDLINE="--gateware-toolchain-path $HOME/opt/Xilinx/" -MISOC_EXTRA_VIVADO_CMDLINE="--gateware-toolchain-path $HOME/Xilinx/Vivado" -export MACADDR=$macaddress -export LD_PRELOAD=$PWD/impersonate_macaddress/impersonate_macaddress.so -EOF