-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (36 loc) · 989 Bytes
/
.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
dist: bionic
language: rust
rust:
- stable
cache: cargo
env:
global:
- NODE_VERSION="v14.7.0"
- SOLANA_VERSION="v1.9.1"
_defaults: &defaults
language: rust
rust:
- stable
before_script:
- rustup component add rustfmt clippy
- nvm install $NODE_VERSION
- sudo apt-get install -y pkg-config build-essential libudev-dev jq
- sh -c "$(curl -sSfL https://release.solana.com/${SOLANA_VERSION}/install)"
- export PATH="/home/travis/.local/share/solana/install/active_release/bin:$PATH"
- yes | solana-keygen new
jobs:
include:
- <<: *defaults
name: Dex tests
script:
- ./scripts/travis/dex-tests.sh
- <<: *defaults
name: Permissioned Dex tests
script:
- cd dex/tests/permissioned/ && yarn && yarn build && yarn test && cd ../../../
- <<: *defaults
name: Fmt and Common Tests
script:
- cargo build
- cargo fmt -- --check
- cargo test --features client,strict