Skip to content

Commit

Permalink
Automate pkg building
Browse files Browse the repository at this point in the history
  • Loading branch information
corollari committed Jun 16, 2019
1 parent 8211c33 commit e46377c
Show file tree
Hide file tree
Showing 3 changed files with 2,177 additions and 9 deletions.
24 changes: 18 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,31 @@ before_install:
install:
- sudo apt-get install -y python-pip
- sudo pip install codespell
- npm install

script:
- ./build-docs.sh
- codespell -q4 *.md
- npm run pkg
# - docker run -ti --rm -v $PWD:/mnt:ro dkhamsing/awesome_bot --allow-dupe --allow-redirect --skip-save-results `find . -name "*.md"`

before_deploy:
- rm docs/*.md

deploy:
provider: pages
local_dir: docs
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
on:
branch: master
- provider: pages
local_dir: docs
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
on:
branch: master
- deploy:
provider: releases
api_key: $GITHUB_TOKEN
file:
- caou-linux
- caou-macos
- caou-win.exe
skip_cleanup: true
on:
tags: true
Loading

0 comments on commit e46377c

Please sign in to comment.