blob: 8580574eb0c571ceeafef991407f14dcd95e6e19 [file] [log] [blame]
language: cpp
compiler:
- clang
- gcc
os:
- linux
- osx
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install python-pexpect; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo easy_install pexpect; fi
install:
- pushd ~
- wget https://sourceforge.net/projects/astyle/files/astyle/astyle%202.05.1/astyle_2.05.1_linux.tar.gz/download -O astyle.tar.gz
- tar -xzvf astyle.tar.gz
- pushd astyle/build/gcc && LDFLAGS=" " make
- export PATH=$PWD/bin:$PATH
- popd
- popd
script:
- ./bootstrap
- ./configure
- make pretty-check
- make distclean
- make -f Makefile-Standalone distcheck