Skip to content
Snippets Groups Projects
Commit e492a253 authored by Thomas Edvalson's avatar Thomas Edvalson
Browse files

Added Travis CI script

parent c51e4822
No related branches found
No related tags found
No related merge requests found
language: cpp
compiler:
- gcc
before_install:
- sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ trusty main universe"
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get -qq update
- sudo apt-get -qq install libgtest-dev g++-4.8 xorg-dev libglu1-mesa-dev
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
- git clone https://github.com/glfw/glfw.git
- "cd glfw && mkdir build && cd build && cmake .. && make && sudo make install ; cd -"
- "cd /usr/src/gtest && sudo cmake . && sudo cmake --build . && sudo mv libg* /usr/local/lib/ ; cd -"
script:
- mkdir build && cd build
- cmake ..
- make -j4
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment