-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (52 loc) · 1.27 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
sudo: required
language: rust
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
- libiberty-dev
- cmake
- musl
- musl-dev
- musl-tools
sources:
- kalakris-cmake
matrix:
include:
# Stable channel.
- os: linux
rust: stable
env: TARGET=x86_64-unknown-linux-gnu
jobs:
include:
- stage: Lint
before_script:
- rustup component add clippy
script:
- cargo clippy --verbose --all
- stage: Tests
name: Unit Tests
# See https://github.com/roblabla/cargo-travis
before_script:
- export PATH=$HOME/.cargo/bin:$PATH
- cargo install cargo-update || echo "cargo-update already installed"
- cargo install cargo-travis || echo "cargo-travis already installed"
- cargo install-update -a # update outdated cached binaries
script:
- cargo test --verbose --all
after_success:
- cargo coveralls
- name: End to End Tests
before_script:
- cargo install --path ichop --force
- cargo install --path cchop --force
script:
- ./milestones/test.sh
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry