projects
/
fw
/
stlink
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
travis: Initial continues integration build on linux and osx
[fw/stlink]
/
.travis.sh
diff --git a/.travis.sh
b/.travis.sh
new file mode 100755
(executable)
index 0000000..
cefeed1
--- /dev/null
+++ b/
.travis.sh
@@ -0,0
+1,12
@@
+#!/bin/bash
+if [ "$TRAVIS_OS_NAME" != "osx" ]; then
+ sudo apt-get update -qq || true
+ sudo apt-get install -qq -y --no-install-recommends libusb-1.0.0-dev
+else
+ brew install libusb
+fi
+
+mkdir build
+cd build
+cmake ..
+make