Commit 64f70b11 authored by Gauthier Quesnel's avatar Gauthier Quesnel
Browse files

repo: remove appveyor and travis scripts

parent afa671a2
Pipeline #35624 passed with stage
in 1 minute and 31 seconds
language: cpp
os:
- linux
- osx
branches:
only:
- master
- test
addons:
apt:
packages: &common_packages
- mesa-common-dev
- libgles2-mesa-dev
- libglew-dev
- libglfw3-dev
- libglvnd-dev
- cmake
- lcov
- make
- gdb
env:
jobs:
- BOGUS_JOB=true
jobs:
exclude:
- env: BOGUS_JOB=true
include:
- os: linux
dist: bionic
env: USE_COVERAGE=no CC=gcc-9 CXX=g++-9 CXXFLAGS="-std=c++2a -O2 -g"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *common_packages
- g++-9
- os: linux
dist: bionic
env: USE_COVERAGE=yes CC=gcc-9 CXX=g++-9 CXXFLAGS="-std=c++2a -ggdb3 -O0 --coverage -fprofile-arcs -ftest-coverage"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *common_packages
- g++-9
- os: osx
osx_image: xcode12
env: USE_COVERAGE=no CC=clang CXX=clang++ CXXFLAGS="-std=c++2a -O2 -g"
addons:
homebrew:
packages:
- glew
- glfw
install:
- cd ${TRAVIS_BUILD_DIR}
before_script:
- cd ..
- cd irritator
- mkdir build
- cd build
- cmake --version
- cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_COLOR_MAKEFILE=OFF -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None ..
script:
- make
- sudo make install
- ctest
after_success:
- if [[ "$USE_COVERAGE" == "yes" ]]; then cd ${TRAVIS_BUILD_DIR} ; fi ; fi
- if [[ "$USE_COVERAGE" == "yes" ]]; then lcov --directory . --capture --output-file coverage.info ; fi ; fi
- if [[ "$USE_COVERAGE" == "yes" ]]; then lcov --remove coverage.info '/usr/*' --output-file coverage.info ; fi
- if [[ "$USE_COVERAGE" == "yes" ]]; then lcov --remove coverage.info 'external/*' --output-file coverage.info ; fi
- if [[ "$USE_COVERAGE" == "yes" ]]; then lcov --list coverage.info ; fi
- if [[ "$USE_COVERAGE" == "yes" ]]; then bash <(curl -s https://codecov.io/bash) ; fi
notifications:
email:
on_success: always
os: Visual Studio 2019
branches:
only:
- master
- test
- next
environment:
matrix:
- COMPILER: msvc
GENERATOR: Visual Studio 16 2019
PLATFORM: x64
BUILD_TYPE: Debug
- COMPILER: msvc
GENERATOR: Visual Studio 16 2019
PLATFORM: x64
BUILD_TYPE: Release
install:
- echo Installing %COMPILER% %PLATFORM% %BUILD_TYPE%
- git submodule -q update --init --recursive
- if defined BINDIR (set "PATH=%BINDIR%;%PATH%")
build_script:
- md build
- cd build
- cmake -G "%GENERATOR%" -DCMAKE_BUILD_TYPE="%BUILD_TYPE%" -DCMAKE_SH=CMAKE_SH-NOTFOUND -DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%\irritator ..
- if "%COMPILER%"=="msvc" cmake --build . --config "%BUILD_TYPE%"
- if "%COMPILER%"=="msvc" cmake --build . --config "%BUILD_TYPE%" --target install
- if not "%COMPILER%"=="msvc" cmake --build .
- if not "%COMPILER%"=="msvc" cmake --build . --target install
- ctest --output-on-failure --verbose -C "%BUILD_TYPE%"
after_build:
- cmd: cd %APPVEYOR_BUILD_FOLDER%
- cmd: 7z a irritator-%COMPILER%-%PLATFORM%-%BUILD_TYPE%.zip irritator
artifacts:
- path: irritator-%COMPILER%-%PLATFORM%-%BUILD_TYPE%.zip
name: app
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment