Remove unused travis CI scripts
DELETE
.travis.yml
-matrix:
- include:
-
- # OSX continuous release build
- - env: RIPES_PLATFORM='mac'
- os: osx
- osx_image: xcode11
- language: c++
- addons:
- apt:
- packages:
- - tree
-
- # Windows continuous release build
- - os: windows
- language: cpp
- env:
- - RIPES_PLATFORM: 'windows'
-
- # Xenial continuous release build
- - env: RIPES_PLATFORM='linux'
- os: linux
- dist: xenial
- sudo: required
- language: c++
- compiler: gcc
- addons:
- apt:
- sources:
- - sourceline: 'ppa:beineri/opt-qt-5.11.0-xenial'
- key_url: 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x10C56D0DE9977759'
- - ubuntu-toolchain-r-test
- packages:
- - qt511-meta-minimal
- - qt511svg
- - qt511charts-no-lgpl
- - libc6-dev
- - g++-8
- - tree
- - mesa-common-dev
-
- # Bionic unit test build
- - env: RIPES_PLATFORM='linux_test'
- os: linux
- dist: bionic
- sudo: required
- language: c++
- compiler: gcc
- addons:
- apt:
- sources:
- - sourceline: 'ppa:beineri/opt-qt-5.11.0-bionic'
- key_url: 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x10C56D0DE9977759'
- - ubuntu-toolchain-r-test
- packages:
- - qt511-meta-minimal
- - qt511svg
- - qt511charts-no-lgpl
- - libc6-dev
- - g++-8
- - tree
- - mesa-common-dev
-
-before_install:
- - source ${TRAVIS_BUILD_DIR}/scripts/${RIPES_PLATFORM}/before_install.sh
-
-script:
- - source ${TRAVIS_BUILD_DIR}/scripts/${RIPES_PLATFORM}/travisbuild.sh
-
-after_success:
- - source ${TRAVIS_BUILD_DIR}/scripts/${RIPES_PLATFORM}/after_success.sh
-
-branches:
- except:
- - # Do not build tags that we create when we upload to GitHub Releases
- - /^(?i:continuous)/

MODIFY
external/VSRTL
external/VSRTL
-Subproject commit b5372361c7fab2444bf85aa8cb999045be7b1c91
+Subproject commit 3f9bf3f225d2abb85b460d367fdc0a99658ee388

DELETE
scripts/linux/after_success.sh
-#!/bin/bash
-
-set -e
-
-if ([ "$TRAVIS_BRANCH" = "master" ] || [ "${TRAVIS_BRANCH}" = "prerelease" ]) &&
- [ "$TRAVIS_PULL_REQUEST" = "false" ] &&
- ([ "$TRAVIS_EVENT_TYPE" = "push" ] || [ "$TRAVIS_EVENT_TYPE" = "api" ]); then
- export UPLOADTOOL_SUFFIX=${TRAVIS_BRANCH}
- find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh Ripes*.AppImage*
-fi
\ No newline at end of file

DELETE
scripts/linux/before_install.sh
-#!/bin/bash
-
-export CC=gcc-8
-export CXX=g++-8
-
-sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
-
-source /opt/qt*/bin/qt*-env.sh
-
-if [ "${TRAVIS_BRANCH}" = "prerelease" ]; then
- echo "Ripes prerelease build"
-fi

DELETE
scripts/linux/travisbuild.sh
-#!/bin/bash
-
-set -e
-
-# build
-cmake -DCMAKE_BUILD_TYPE=Release .
-make -j $(nproc)
-
-echo "Post build folder contents:"
-ls -lh
-
-# Move bin to appdir
-mkdir -p appdir/usr/bin/
-mv Ripes appdir/usr/bin/
-
-wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
-chmod a+x linuxdeployqt-continuous-x86_64.AppImage
-unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
-
-export VERSION=${TRAVIS_BRANCH}-linux # linuxdeployqt uses this for naming the file
-
-./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage -extra-plugins=iconengines
-
-echo "Post bundle folder contents:"
-ls -lh

DELETE
scripts/linux_test/after_success.sh
-#!/bin/bash
-
-# Fail on failing QTest executions
-set -e
-
-pushd test
-
-find . -executable -type f -name "tst_*" | while read line; do
- echo "Running unit test: "
- echo "${line}"
- ($line)
-done
\ No newline at end of file

DELETE
scripts/linux_test/before_install.sh
-#!/bin/bash
-
-
-export CC=gcc-8
-export CXX=g++-8
-
-sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
-
-source /opt/qt*/bin/qt*-env.sh
-
-set -e
-
-# Grab prebuilt riscv64-unknown-elf toolchain, required for building RISC-V
-# related unit tests
-wget --load-cookies /tmp/cookies.txt \
- "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1KHCVeLFw6ef_HF0E4g3sqczCFYG_8EtA' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1KHCVeLFw6ef_HF0E4g3sqczCFYG_8EtA" \
- -O riscv64-unknown-elf_x86-64.tar.gz && rm -rf /tmp/cookies.txt
-
-echo "Downloaded files:"
-ls -lha
-
-# Unpack and add to path
-tar -xvf riscv64-unknown-elf_x86-64.tar.gz
-export PATH=$(pwd)/riscv64-unknown-elf_x86-64/bin/:${PATH}

DELETE
scripts/linux_test/travisbuild.sh
-#!/bin/bash
-
-set -e
-
-# build
-cmake -DRIPES_BUILD_TESTS=ON -DRIPES_ENABLE_RISCV_TESTS=ON -DCMAKE_BUILD_TYPE=Release .
-make -j $(nproc)
-
-echo "Post build folder contents:"
-ls -lh

DELETE
scripts/mac/after_success.sh
-#!/bin/bash
-
-set -e
-
-if ([ "$TRAVIS_BRANCH" = "master" ] || [ "${TRAVIS_BRANCH}" = "prerelease" ]) &&
- [ "$TRAVIS_PULL_REQUEST" = "false" ] &&
- ([ "$TRAVIS_EVENT_TYPE" = "push" ] || [ "$TRAVIS_EVENT_TYPE" = "api" ]); then
- export UPLOADTOOL_SUFFIX=${TRAVIS_BRANCH}
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh Ripes*.zip
-fi
\ No newline at end of file

DELETE
scripts/mac/before_install.sh
-#!/bin/bash
-
-# Adapted from https://github.com/Subsurface-divelog/subsurface/blob/master/scripts/mac/before_install.sh
-
-set -x
-set -e
-
-# try to get rid of the insane debug crap
-unalias -a
-unset -f rvm_debug
-unset -f cd
-unset -f pushd
-unset -f popd
-
-# prep things so we can build for Mac
-# we have a custom built Qt some gives us just what we need
-# we should just build and install this into /usr/local/ as well and have
-# it all be part of the cache...
-
-pushd ${TRAVIS_BUILD_DIR}
-
-mkdir -p Qt/5.13.0
-curl --output Qt-5.13.0-mac.tar.xz https://f002.backblazeb2.com/file/Subsurface-Travis/Qt-5.13.0-mac.tar.xz
-tar -xJ -C Qt/5.13.0 -f Qt-5.13.0-mac.tar.xz
-
-if [ "${TRAVIS_BRANCH}" = "prerelease" ]; then
- echo "Ripes prerelease build"
-fi

DELETE
scripts/mac/travisbuild.sh
-#!/bin/bash
-
-set -x
-set -e
-
-export QT_ROOT=${TRAVIS_BUILD_DIR}/Qt/5.13.0/clang_64
-export PATH=$QT_ROOT/bin:$PATH # Make sure correct qmake is found on the $PATH
-export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
-
-cmake -DCMAKE_BUILD_TYPE=Release .
-make -j $(nproc)
-
-echo "Post build folder contents:"
-ls -lh
-
-# Bundle the app
-macdeployqt Ripes.app
-
-APPNAME=Ripes-${TRAVIS_BRANCH}-mac-x86_64
-
-sudo mv Ripes.app $APPNAME.app
-
-sudo zip -r ${APPNAME}.zip ${APPNAME}.app/
-
-ln -s . 5.0
-
-echo "Post bundle folder contents:"
-ls -lh

DELETE
scripts/windows/after_success.sh
-#!/bin/bash
-
-set -e
-
-if ([ "$TRAVIS_BRANCH" = "master" ] || [ "${TRAVIS_BRANCH}" = "prerelease" ]) &&
- [ "$TRAVIS_PULL_REQUEST" = "false" ] &&
- ([ "$TRAVIS_EVENT_TYPE" = "push" ] || [ "$TRAVIS_EVENT_TYPE" = "api" ]); then
- export UPLOADTOOL_SUFFIX=${TRAVIS_BRANCH}
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh ${APPNAME}
-fi

DELETE
scripts/windows/before_install.sh
-#!/bin/bash
-
-set -e
-
-export QT_VERSION=5.13.1
-export QT_PREFIX=msvc2017_64
-export QT_TOOLCHAIN=win64_${QT_PREFIX}
-export CMAKE_GENERATOR="Visual Studio 15 2017 Win64"
-
-# Fetch and install Qt using the qbs non-interactive qt installer script
-curl -vLO https://code.qt.io/cgit/qbs/qbs.git/plain/scripts/install-qt.sh
-bash install-qt.sh \
- --version ${QT_VERSION} \
- --toolchain ${QT_TOOLCHAIN}\
- qtbase qttools svg qtcharts
-
-choco install zip
-
-
-if [ "${TRAVIS_BRANCH}" = "prerelease" ]; then
- echo "Ripes prerelease build"
-fi

DELETE
scripts/windows/travisbuild.sh
-#!/bin/bash
-
-set -e
-
-export CMAKE_PREFIX_PATH=/c/Qt/${QT_VERSION}/${QT_PREFIX}:${CMAKE_PREFIX_PATH}
-export PATH=/c/Qt/${QT_VERSION}/${QT_PREFIX}/bin:${PATH}
-
-cmake . -G "${CMAKE_GENERATOR}"
-
-find /c/Qt/${QT_VERSION}/${QT_PREFIX}/bin
-
-cmake --build . \
- -j$(nproc) \
- --config Release
-
-# Copy dependencies using windeployqt
-pushd Release
-
-APPNAME=Ripes-${TRAVIS_BRANCH}-win-x86_64.zip
-
-windeployqt.exe -svg --release Ripes.exe
-
-# Clean up some unused stuff
-rm -rf translations
-
-# Bundle
-zip -r ${APPNAME} .
-popd
-mv Release/${APPNAME} .
\ No newline at end of file

Remove unused travis CI scripts