solana-program-library/.travis.yml

44 lines
802 B
YAML
Raw Normal View History

2020-05-29 15:00:47 -07:00
dist: bionic
sudo: required
notifications:
email: false
2020-05-29 15:00:47 -07:00
cache:
cargo: true
directories:
- "~/.npm"
2020-05-29 15:00:47 -07:00
services:
- docker
2020-08-07 08:05:37 -07:00
env:
global:
- RUST_BACKTRACE=1
jobs:
include:
2020-08-07 10:10:28 -07:00
- name: "Build programs"
language: rust
install:
source .travis/install-program-deps.sh
script:
2020-08-07 10:10:28 -07:00
- ./ci/clients.sh
- ./ci/memo.sh
- ./ci/token.sh
- ./ci/token-swap.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