]> git.gag.com Git - fw/stlink/blob - .travis.sh
travis: Initial continues integration build on linux and osx
[fw/stlink] / .travis.sh
1 #!/bin/bash
2 if [ "$TRAVIS_OS_NAME" != "osx" ]; then
3         sudo apt-get update -qq || true
4         sudo apt-get install -qq -y --no-install-recommends libusb-1.0.0-dev
5 else
6         brew install libusb
7 fi
8
9 mkdir build
10 cd build
11 cmake ..
12 make