learn-wgpu/.travis.yml

32 lines
798 B
YAML
Raw Normal View History

2020-12-13 02:57:54 +00:00
matrix:
include:
- language: rust
2020-12-20 07:21:30 +00:00
addons:
apt:
packages:
2020-12-20 07:49:02 +00:00
- libasound2-dev
2020-12-13 02:57:54 +00:00
rust:
- stable
2020-12-17 22:44:57 +00:00
# - beta
# - nightly
2020-12-13 02:57:54 +00:00
jobs:
2020-12-17 22:44:57 +00:00
# allow_failures:
# - rust: nightly
2020-12-13 02:57:54 +00:00
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