Skip to content

Commit

Permalink
feat: enable travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jjyr committed Jun 11, 2019
1 parent bf8c20e commit afbfc2d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
language: rust
rust: 1.34.2
dist: xenial
sudo: true
cache:
cargo: true
timeout: 1024

git:
depth: 2

env:
global:
- RUST_BACKTRACE=full

before_install:
- cargo sweep --version || cargo install --git https://github.com/holmgr/cargo-sweep --rev 4770deda37a2203c783e301b8c0c895964e8971e
- cargo sweep -s

script: make ci

before_cache:
- rm -rf ./target/release
- rm -rf ./target/debug/incremental/
- cargo sweep -f

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# ckb-contracts
[![Build Status](https://travis-ci.com/nervosnetwork/ckb-system-scripts.svg?branch=master)](https://travis-ci.com/nervosnetwork/ckb-system-scripts)

CKB's official smart contracts. Those contracts will be included in system cells in genesis blocks

0 comments on commit afbfc2d

Please sign in to comment.