learn-wgpu/.travis.yml
2020-12-20 00:49:02 -07:00

32 lines
798 B
YAML

matrix:
include:
- language: rust
addons:
apt:
packages:
- libasound2-dev
rust:
- stable
# - beta
# - nightly
jobs:
# allow_failures:
# - rust: nightly
fast_finish: true
scripts:
- cargo build --verbose
- language: node_js
node_js:
- lts/*
install:
- npm ci
script:
- npm run build
deploy:
provider: pages
skip_cleanup: true
local_dir: docs/.vuepress/dist
github_token: $GITHUB_TOKEN # A token generated on GitHub allowing Travis to push code on you repository. Set in the Travis settings page of your repository, as a secure variable
keep_history: true
on:
branch: master