forked from solana-labs/solana-program-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (35 loc) · 743 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
dist: bionic
sudo: required
branches:
only:
- master
notifications:
email: false
cache:
directories:
- "~/.cache"
services:
- docker
env:
global:
- RUST_BACKTRACE=1
jobs:
include:
- name: "Build programs"
language: rust
install:
source .travis/install-program-deps.sh
script:
- ci/script.sh
# docs pull request or commit to master
- name: "Build Docs"
if: type IN (push, pull_request) AND branch = master
language: node_js
node_js:
- "node"
before_install:
- .travis/affects.sh docs/ .travis || travis_terminate 0
- cd docs/
- source .travis/before_install.sh
script:
- source .travis/script.sh