-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
41 lines (38 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
37
38
39
40
41
dist: bionic
language: shell
os: linux
_defaults: &defaults
cache: false
services:
- docker
before_install:
- scripts/travis/run-docker.sh
install:
- mkdir -p bin && ./bpf-sdk-install.sh bin
before_cache:
- scripts/travis/stop-docker.sh
_localnet: &localnet
language: node_js
node_js:
- 14
before_script:
- sudo apt-get install -y pkg-config build-essential libudev-dev
- sh -c "$(curl -sSfL https://release.solana.com/v1.6.9/install)"
- export PATH="/home/travis/.local/share/solana/install/active_release/bin:$PATH"
jobs:
include:
- <<: *defaults
name: Dex unit tests
script:
- docker exec dev ./do.sh test dex
- <<: *defaults
name: Dex integration tests
<<: *localnet
script:
- docker exec dev ./scripts/travis/dex-tests.sh
- <<: *defaults
name: Fmt and Common Tests
script:
- docker exec dev cargo build
- docker exec dev cargo fmt -- --check
- docker exec -w=/workdir/common dev cargo test --features client,strict