From e21393d92943de959a5422b1d57a05aa4f9c7fc4 Mon Sep 17 00:00:00 2001 From: huxingyi Date: Thu, 15 Oct 2020 22:41:52 +0930 Subject: [PATCH] Update CI --- .travis.yml | 23 ++++++++++++----------- appveyor.yml | 2 ++ 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2cf6927c..ce38e841 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,17 +8,18 @@ language: cpp matrix: include: - - os: linux - dist: xenial - sudo: required - compiler: gcc - addons: - apt: - sources: - - ubuntu-toolchain-r-test - - os: osx - compiler: clang - osx_image: xcode9.3 + - if: tag IS present + - os: linux + dist: xenial + sudo: required + compiler: gcc + addons: + apt: + sources: + - ubuntu-toolchain-r-test + - os: osx + compiler: clang + osx_image: xcode9.3 install: - if [[ $TRAVIS_BRANCH != "ci" && $TRAVIS_TAG == "" ]]; then echo "Not branch ci and no tag, cancel build"; fi diff --git a/appveyor.yml b/appveyor.yml index a022bdb0..09bdfda0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -11,6 +11,8 @@ environment: target: i686-pc-windows-msvc qtdir: C:\Qt\5.13.2\msvc2017 sysdirname: system32 + + skip_non_tags: true cache: CGAL-5.1-Setup.exe -> appveyor.yml