travis: remove the .travis.yml file
In build.git we haven't been using Travis for almost 3 years and even if
we would enable it again, it would probably not work since it's
configured to run a very old Ubuntu release. We also stopped using this
as a full regression build testing since a) our build time had increased
and b) Travis had become more popular that prolonged the build time c)
we often hit the run-time limit for free accounts.
Because of this and to avoid confusion we should remove the Travis
configuration.
Signed-off-by: Joakim Bech <joakim.bech@linaro.org>
Acked-by: Jerome Forissier <jerome@forissier.org>
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index b3bc270..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,69 +0,0 @@
-# Travis configuration file for downloading and building OP-TEE according to the
-# instructions in build.git
-language: bash
-
-notifications:
- email:
- recipients:
- - op-tee@linaro.org
- on_success: change
- on_failure: always
-
-dist: trusty
-sudo: required
-group: beta
-
-cache:
- directories:
- - $HOME/.ccache
-
-git:
- depth: 10
-
-after_script:
- - ccache -s
-
-before_install:
- - ccache -s
- - sudo dpkg --add-architecture i386
- - sudo apt-get update -qq
- # Package list taken from README.md
- - sudo apt-get install -qq -y android-tools-adb android-tools-fastboot autoconf automake bc bison build-essential cscope curl device-tree-compiler flex ftp-upload gdisk iasl libattr1-dev libc6:i386 libcap-dev libfdt-dev libftdi-dev libglib2.0-dev libhidapi-dev libncurses5-dev libpixman-1-dev libssl-dev libstdc++6:i386 libtool libz1:i386 make mtools netcat python-crypto python-serial python-wand unzip uuid-dev xdg-utils xterm xz-utils zlib1g-dev
-
-install: true
-
-env:
- - $REPO_PROJ=default
- - $REPO_PROJ=fvp
- - $REPO_PROJ=hikey
- - $REPO_PROJ=hikey960
- - $REPO_PROJ=juno
- - $REPO_PROJ=qemu_v8
- - $REPO_PROJ=rpi3
-
-before_script:
- - mkdir -p $HOME/bin
- - cd $HOME/bin && wget https://storage.googleapis.com/git-repo-downloads/repo && chmod +x repo
- - export PATH=$HOME/bin:$PATH
- - mkdir -p $HOME/$REPO_PROJ
-
-script:
- # Special case for FVP, since we check for the Foundation_Platformpkg folder
- # in the makefile.
- - if [ $REPO_PROJ == "fvp" ]; then mkdir -p $HOME/$REPO_PROJ/Foundation_Platformpkg; fi
- - cd $HOME/$REPO_PROJ && repo init -u https://github.com/OP-TEE/manifest.git -m $REPO_PROJ.xml </dev/null && repo sync -j2 --no-clone-bundle --no-tags --quiet
- # Fetch a local copy of dtc+libfdt to avoid issues with a possibly outdated libfdt-dev
- - if [ $REPO_PROJ == "qemu_v8" ]; then cd $HOME/$REPO_PROJ/qemu && git submodule update --init dtc; fi
- # Here we are using Travis environment variables to select the correct branch
- # based on either a pull request or a normal push.
- - |
- if [ "$TRAVIS_EVENT_TYPE" == "pull_request" ]; then
- slug=$TRAVIS_PULL_REQUEST_SLUG
- branch=$TRAVIS_PULL_REQUEST_BRANCH
- else
- slug=$TRAVIS_REPO_SLUG
- branch=$TRAVIS_BRANCH
- fi
- - cd $HOME/$REPO_PROJ/build && git remote add github_remote https://github.com/$slug && git remote update
- - cd $HOME/$REPO_PROJ/build && git checkout github_remote/$branch
- - cd $HOME/$REPO_PROJ/build && make -f toolchain.mk toolchains -j3 && make all -j`nproc`