From: Sebastian Pipping Date: Mon, 13 Mar 2017 17:43:19 +0000 (+0100) Subject: Travis: Inline .travis.sh for better integration X-Git-Tag: R_2_2_1~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce34ddfe9f64c2220e68a598f3e6c396f1e8df90;p=libexpat Travis: Inline .travis.sh for better integration --- diff --git a/.travis.sh b/.travis.sh deleted file mode 100755 index a5704e8e..00000000 --- a/.travis.sh +++ /dev/null @@ -1,26 +0,0 @@ -#! /bin/bash -# Copyright (C) 2017 Sebastian Pipping -# Licensed under the MIT license -set -e - -PS4='# ' -set -x - - -ret=0 - - -# Run test suite -cd expat - -for mode in \ - address \ - lib-coverage \ - ; do - git clean -X -f - ./buildconf.sh - CFLAGS='-g -pipe' ./qa.sh ${mode} || ret=1 -done - - -exit ${ret} diff --git a/.travis.yml b/.travis.yml index b609a079..c9483c67 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,6 @@ +# Copyright (C) 2017 Sebastian Pipping +# Licensed under the MIT license + language: cpp dist: trusty @@ -9,4 +12,17 @@ addons: install: - wget -O expat/tests/xmlts.zip https://www.w3.org/XML/Test/xmlts20080827.zip -script: ./.travis.sh +script: + - cd expat + - | + set -e + ret=0 + for mode in \ + address \ + lib-coverage \ + ; do + git clean -X -f + ./buildconf.sh + CFLAGS='-g -pipe' ./qa.sh ${mode} || ret=1 + done + exit ${ret}