Browse Source

add MacOS built scripts support in .travis.yml

pull/14/merge
Sen Han 6 years ago
parent
commit
09b40f303e
  1. 58
      .travis.yml

58
.travis.yml

@ -11,51 +11,21 @@ compiler:
- gcc
- clang
install:
- sudo apt-get install -qq -y libreadline-dev libncurses5-dev libpcre3-dev libssl-dev perl make build-essential valgrind gcc-multilib g++-multilib libc6-dbg libc6-dbg:i386
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update
- sudo apt-key update
script:
- echo $TRAVIS_EVENT_TYPE
- ulimit -c unlimited
- cat /proc/cpuinfo && free -m && uname -a
- cc --version
- gcc --version
- echo $TRAVIS_OS_NAME
- echo $CC
- ls /usr/include
- ls /usr/include/valgrind
- cc --version
- if [ "$TRAVIS_OS_NAME" = "osx" ] ; then brew update; brew install grep --with-default-names; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ] ; then brew install gnu-sed --with-default-names; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ] ; then sudo apt-get install -qq -y libreadline-dev libncurses5-dev libpcre3-dev libssl-dev perl make build-essential valgrind gcc-multilib g++-multilib libc6-dbg libc6-dbg:i386 ; fi
- date
- mkdir output
- bash make.sh
- ls output
- ls output | wc -l
- cd output
- bash ../test.sh
- cd ..
- rm -fr output
- mkdir output
- bash make.sh -o no-m32
- ls output
- ls output | wc -l
- cd output
- bash ../test.sh
- cd ..
- rm -fr output
- mkdir output
- bash make.sh -o no-valgrind
- ls output
- ls output | wc -l
- cd output
- bash ../test.sh
- cd ..
- rm -fr output
- mkdir output
- bash make.sh -o no-valgrind -o no-m32
- ls output
- ls output | wc -l
- cd output
- bash ../test.sh
- cd ..
- rm -fr output
- echo ""
- if [ "$TRAVIS_OS_NAME" = "linux" ] ; then mkdir output ; bash make.sh ; ls output ; ls output | wc -l ; cd output ; bash ../test.sh ; cd .. ; rm -fr output; fi
- echo ""
- if [ "$TRAVIS_OS_NAME" = "linux" ] ; then mkdir output ; bash make.sh -o no-m32 ; ls output ; ls output | wc -l ; cd output ; bash ../test.sh ; cd .. ; rm -fr output; fi
- echo ""
- mkdir output ; bash make.sh -o no-valgrind ; ls output ; ls output | wc -l ; cd output ; bash ../test.sh ; cd .. ; rm -fr output
- echo ""
- if [ "$TRAVIS_OS_NAME" = "linux" ] ; then mkdir output ; bash make.sh -o no-valgrind -o no-m32 ; ls output ; ls output | wc -l ; cd output ; bash ../test.sh ; cd .. ; rm -fr output; fi
- echo "" ; date

Loading…
Cancel
Save