.travis.yml 882 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # This is the control file for Travis continuous integration system.
  2. #
  3. # It is used automatically for the repositories on Github if it's found in the
  4. # root directory of the project.
  5. language: cpp
  6. compiler: gcc
  7. branches:
  8. only:
  9. - master
  10. notifications:
  11. email:
  12. recipients:
  13. - vadim@wxwidgets.org
  14. on_success: change
  15. on_failure: change
  16. before_install:
  17. - sudo apt-get install -y libcppunit-dev
  18. env:
  19. - wxCONFIGURE_FLAGS=
  20. - wxCONFIGURE_FLAGS="--disable-shared"
  21. - wxCONFIGURE_FLAGS="--disable-precomp-headers --enable-monolithic"
  22. - wxCONFIGURE_FLAGS="--enable-stl" CXXFLAGS=-std=c++0x
  23. script:
  24. - ./configure --disable-optimise $wxCONFIGURE_FLAGS
  25. - make
  26. - make -C tests
  27. - pushd tests
  28. - ./test -t
  29. - popd
  30. - make samples
  31. - sudo make install
  32. - make -C samples/minimal -f makefile.unx