• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3check_travis_yml() {
4    X=`mktemp`
5    if ! (extras/scripts/travis_yml_generator.py >$X && cmp -s $X .travis.yml)
6    then
7        echo 'The .travis.yml file is out of date, run "extras/scripts/travis_yml_generator.py >.travis.yml" and try again.'
8        return 1
9    fi
10}
11
12check_travis_yml || exit 1
13