#language: c

env:
    - CC=gcc CXX=g++
    - CC=clang CXX=clang++

before_install:
    - uname -a
    - cat /etc/issue
    - sudo apt-get update -qq
    - sudo apt-get install valgrind libyaml-dev libprotobuf-dev protobuf-compiler libprotobuf-c0 libprotobuf-c0-dev protobuf-c-compiler python-yaml expect
    - gcc --version
    - g++ --version
    - clang --version
    - clang++ --version

install: true

before_script: true

script:
    - make -j4 dep
    - make debug=true -j4
    - make clean
    - make -j4
    - sudo make install
    - make check debug=true

after_success: true

after_script: true

after_failure: false

notifications:
    email:
      - hyzwowtools@gmail.com

#language: c

env:
    - CC=gcc CXX=g++
    - CC=clang CXX=clang++

before_install:
    - uname -a
    - cat /etc/issue
    - sudo apt-get update -qq
    - sudo apt-get install valgrind libyaml-dev libprotobuf-dev protobuf-compiler libprotobuf-c0 libprotobuf-c0-dev protobuf-c-compiler python-yaml expect
    - gcc --version
    - g++ --version
    - clang --version
    - clang++ --version

install: true

before_script: true

script:
    - make -j4 dep
    - make debug=true use_jemalloc=true -j4
    - make clean
    - make -j4
    - sudo make install
    - make check debug=true

after_success: true

after_script: true

after_failure: false

notifications:
    email:
      - hyzwowtools@gmail.com

Test jemalloc building in debug build phase
Test jemalloc building in debug build phase
