travis CHANGE move to Ubuntu Xenial (16.04)
language: c
sudo: required
-dist: trusty
+dist: xenial
branches:
only:
- libyang2
@@ -34,7 +34,7 @@ jobs:
branch_pattern: libyang2
before_install:
# check if something changed from the last coverity build
- - if [ `git rev-parse HEAD` = `cat $HOME/cache/coveritybuild` ]; then echo "Codebase did not change from previous build."; travis_terminate 0; fi
+ - if [ "`git rev-parse HEAD`" = "`cat $HOME/cache/coveritybuild`" ]; then echo "Codebase did not change from previous build."; travis_terminate 0; fi
- if [ ! -d $HOME/cache ]; then mkdir -p $HOME/cache; fi
- git rev-parse HEAD > $HOME/cache/coveritybuild
# get everything for coverity
