-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
36 lines (34 loc) · 1.04 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
dist: xenial
sudo: required
before_install:
- sudo add-apt-repository ppa:myriadrf/drivers -y
- sudo add-apt-repository ppa:myriadrf/gnuradio -y
- sudo apt-get -qq update
- sudo apt-get install -y libairspy-dev cmake swig
jobs:
include:
- stage: cppStage
language: cpp
compiler:
- gcc
- clang
env:
- CTEST_OUTPUT_ON_FAILURE=1 CMAKE_INSTALL_PREFIX=/usr
script:
- make libcorrect && sudo make libcorrect-install && make && make test
- stage: goStage
language: go
go:
"1.10.x"
env:
- CTEST_OUTPUT_ON_FAILURE=1 CMAKE_INSTALL_PREFIX=/usr
script:
- export CTEST_OUTPUT_ON_FAILURE=1
- export CMAKE_INSTALL_PREFIX=/usr
- make libcorrect && sudo make libcorrect-install && sudo make install
- cd /home/travis/gopath
- cd /home/travis/gopath/src/github.com/opensatelliteproject/libsathelper
- swig -go -cgo -c++ -intgosize 64 SatHelper.i
- go build -x
- go install
- go test ./... -v