language: cpp
compiler:
  - gcc
env:
  global:
    - PATH=$PATH:$TRAVIS_BUILD_DIR/samp-server-cli/bin
    - SAMP_SERVER_ROOT=$TRAVIS_BUILD_DIR/samp03
    - SAMP_SERVER=$TRAVIS_BUILD_DIR/samp03/samp03svr
install:
  - sudo apt-get update -qq
  - sudo apt-get install -y gcc-multilib g++-multilib cmake python
  - git clone --depth 1 https://github.com/Zeex/samp-server-cli.git
  - wget http://files.sa-mp.com/samp03zsvr_R3.tar.gz
  - tar xvf samp03zsvr_R3.tar.gz
before_script:
  - cmake . -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32
script:
  - make
  - make test
  - make package

language: cpp
compiler:
  - gcc
env:
  global:
    - PATH=$PATH:$TRAVIS_BUILD_DIR/samp-server-cli/bin
    - SAMP_SERVER_ROOT=$TRAVIS_BUILD_DIR/samp03
    - SAMP_SERVER=$TRAVIS_BUILD_DIR/samp03/samp03svr
    - CTEST_OUTPUT_ON_FAILURE=TRUE
install:
  - sudo apt-get update -qq
  - sudo apt-get install -y gcc-multilib g++-multilib cmake python
  - git clone --depth 1 https://github.com/Zeex/samp-server-cli.git
  - wget http://files.sa-mp.com/samp03zsvr_R3.tar.gz
  - tar xvf samp03zsvr_R3.tar.gz
before_script:
  - cmake . -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32
script:
  - make
  - make test
  - make package

Enable CTest output on failure
Enable CTest output on failure
