Skip to content

Commit

Permalink
Merge pull request #9 from ax3l/topic-travis
Browse files Browse the repository at this point in the history
Add first draft of .travis.yml Close #7
  • Loading branch information
psychocoderHPC committed Jan 6, 2014
2 parents ee4eb33 + d216ab5 commit 3c41471
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: cpp

compiler:
- gcc

script:
- mkdir build_tmp && cd build_tmp
- cmake $TRAVIS_BUILD_DIR
- make

before_script:
- sudo apt-get update -qq
- sudo apt-get install -qq build-essential
- sudo apt-get install -qq gcc-4.4 g++-4.4
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.4 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.4
- gcc --version && g++ --version
- sudo apt-get install -qq nvidia-common
- sudo apt-get install -qq nvidia-current
- sudo apt-get install -qq nvidia-cuda-toolkit nvidia-cuda-dev
- sudo find /usr/ -name libcuda*.so

0 comments on commit 3c41471

Please sign in to comment.