mirror of
https://github.com/sotrh/learn-wgpu.git
synced 2024-11-10 01:10:28 +00:00
32 lines
798 B
YAML
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 |