Open Source Tomb Raider Engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

travis_script_linux.sh 432B

1234567891011121314151617181920
  1. #!/bin/bash
  2. if [ "$CC" = "gcc" ]; then export CC="gcc-4.8"; fi
  3. if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
  4. if [ "$CC" = "clang" ]; then export CC="clang-3.5"; fi
  5. if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.5"; fi
  6. git clone https://github.com/hpicgs/glbinding.git
  7. cd glbinding
  8. mkdir build
  9. cd build
  10. cmake ..
  11. make -j4
  12. sudo make install
  13. cd ..
  14. cd ..
  15. mkdir build && cd build && cmake .. && make -j 4 && make check