summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml5
-rw-r--r--.travis_build.sh15
2 files changed, 16 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index e98bb18..d6e1374 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,10 +11,7 @@ before_script:
- sudo apt-get install -y libzmq5-dev libzmq5 automake libtool
- pkg-config --modversion libzmq || true
- pkg-config --modversion libzmq3 || true
- - git clone https://github.com/Opendigitalradio/ka9q-fec.git && cd ka9q-fec && mkdir build && cd build && cmake .. && make && sudo make install
script:
- - ./bootstrap.sh
- - ./configure --enable-input-prbs --enable-input-test --enable-input-udp --enable-output-raw
- - make
+ - bash ./.travis_build.sh
diff --git a/.travis_build.sh b/.travis_build.sh
new file mode 100644
index 0000000..0d0bafe
--- /dev/null
+++ b/.travis_build.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+pushd /tmp
+git clone https://github.com/Opendigitalradio/ka9q-fec.git
+cd ka9q-fec
+mkdir build
+cd build
+cmake ..
+make
+sudo make install
+popd
+
+./bootstrap.sh
+./configure --enable-input-prbs --enable-input-test --enable-input-udp --enable-output-raw
+make