mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-26 15:59:50 -05:00
Only perform snapcraft build on develop or master, re-enabled clang
This commit is contained in:
parent
b2f3cc6903
commit
81392a71dd
10
.travis.yml
10
.travis.yml
@ -1,6 +1,7 @@
|
||||
language: cpp
|
||||
sudo: required
|
||||
dist: trusty
|
||||
services: [docker]
|
||||
|
||||
os:
|
||||
- linux
|
||||
@ -8,16 +9,11 @@ os:
|
||||
|
||||
compiler:
|
||||
- gcc
|
||||
# - clang
|
||||
- clang
|
||||
|
||||
git:
|
||||
depth: 3
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- env: BUILD=1
|
||||
services: [docker]
|
||||
|
||||
before_install:
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -qq update; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -qq install cmake libmicrohttpd10 libmicrohttpd-dev libxi-dev qtbase5-dev libqt5x11extras5-dev qttools5-dev qttools5-dev-tools libgcrypt20-dev zlib1g-dev libxtst-dev xvfb; fi
|
||||
@ -39,4 +35,4 @@ script:
|
||||
|
||||
after_success:
|
||||
- popd
|
||||
- if [ ! -z "$BUILD" ]; then docker run -v $(pwd):/cwd snapcore/snapcraft sh -c 'cd /cwd && apt update && snapcraft'; fi
|
||||
- "[[ $TRAVIS_BRANCH =~ (master|develop) ]] && docker run -v $(pwd):/cwd snapcore/snapcraft sh -c 'cd /cwd && apt update && snapcraft'"
|
||||
|
Loading…
Reference in New Issue
Block a user