forked from chainx-org/ChainX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (39 loc) · 917 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
39
40
41
42
43
44
45
46
47
48
# Based on the "trust" template v0.1.2
# https://github.com/japaric/trust/tree/v0.1.2
dist: trusty
language: rust
sudo: required
rust:
- nightly
env:
global:
- CRATE_NAME=chainx
# Ignore the various targets for now
# matrix:
# include:
# - env: TARGET=x86_64-unknown-linux-gnu
before_install:
- set -e
- rustup self update
- rustup update nightly
- rustup target add wasm32-unknown-unknown --toolchain nightly
- rustup update stable
- cargo install --git https://github.com/alexcrichton/wasm-gc --force
- sudo apt update
- sudo apt install -y pkg-config libssl-dev
- sudo bash ci/cmake.sh 3.5.1
script:
- cargo build
cache: cargo
before_cache:
# Travis can't cache files that are not readable by "others"
- chmod -R a+r $HOME/.cargo
branches:
only:
# release tags
- /^v\d+\.\d+\.\d+.*$/
- develop
- master
notifications:
email:
on_success: never