Skip to content

Commit

Permalink
add rust ffi to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Nov 4, 2019
1 parent 1883d92 commit 96d51f0
Showing 1 changed file with 28 additions and 14 deletions.
42 changes: 28 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,36 @@ compiler:
- g++
os:
- linux


before_install:
- sudo apt-get -qq update
- sudo apt-get install -y make automake autotools-dev cmake
script:
- mkdir -p build
- cd build
- cmake ..
- make
- ctest
- gcov -n -o . src/gqf.cpp > /dev/null;
branches:
only:
- mqfDevelopmenet
- master
cache:
directories:
- "$HOME/.cargo"
- "target"

after_success:
- bash <(curl -s https://codecov.io/bash)
jobs:
include:
- &test
stage: test
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y make automake autotools-dev cmake
script:
- mkdir -p build
- cd build
- cmake ..
- make
- ctest
- gcov -n -o . src/gqf.cpp > /dev/null;
after_success:
- bash <(curl -s https://codecov.io/bash)
- <<: *test
name: Rust FFI bindings
language: rust
rust: stable
env:
- RUSTFLAGS="-Clink-arg=-fuse-ld=gold"
script:
- cargo test

0 comments on commit 96d51f0

Please sign in to comment.