From a9976fca3b2277aa8ae0873934187f507a6d0315 Mon Sep 17 00:00:00 2001 From: Jeff Lawson Date: Sat, 2 Feb 2019 01:28:40 +0000 Subject: [PATCH] initial travis integration (no tests for now) --- .travis.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ca02919 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: c + +sudo: true + +os: + - linux + - osx + +before_install: + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install tcl-tk; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install tcl8.6-dev -y; fi + +script: + - autoreconf -vi + - if [ -f /usr/local/opt/tcl-tk/lib/tclConfig.sh ]; then ./configure --with-tcl=/usr/local/opt/tcl-tk/lib --prefix=/usr/local; else ./configure; fi + - make + - sudo make install +