<commit_before>language: go
go:
- 1.10.x
node_js:
- '0.11'
sudo: required
install:
- nvm install 0.11
- npm install grunt-cli -g
- npm install --save-dev grunt string toml conzole
- wget https://github.com/spf13/hugo/releases/download/v0.20.2/hugo_0.20.2_Linux-64bit.tar.gz
- tar zxvf hugo_0.20.2_Linux-64bit.tar.gz
- mkdir -p $HOME/bin
- mv hugo_0.20.2_linux_amd64/hugo_0.20.2_linux_amd64 $HOME/bin/hugo
- echo $GOPATH
- export PATH=$PATH:$HOME/bin:$GOPATH/bin
- go get github.com/goadesign/goa
- go get github.com/goadesign/gorma
- cd tools/godoc2md && go get -v ./... && go build -o $HOME/bin/godoc2md && cd ../..
- cd tools/mdc && go get -v ./... && go build -o $HOME/bin/mdc && cd ../..
- sudo pip install Pygments
script:
- make docs
- hugo
- grunt lunr-index
- make linkcheck
deploy:
  provider: gcs
  access_key_id: <KEY>
  secret_access_key:
    secure: <KEY>
  bucket: goa.design
  local-dir: public
  skip-cleanup: true
  acl: public-read
  cache-control: max-age=300
  on:
    repo: goadesign/goa.design
<commit_msg>Update node version used to build site<commit_after>language: go
go:
- 1.10.x
node_js:
- '10.6.0'
sudo: required
install:
- nvm install 10.6.0
- npm install grunt-cli -g
- npm install --save-dev grunt string toml conzole
- wget https://github.com/spf13/hugo/releases/download/v0.20.2/hugo_0.20.2_Linux-64bit.tar.gz
- tar zxvf hugo_0.20.2_Linux-64bit.tar.gz
- mkdir -p $HOME/bin
- mv hugo_0.20.2_linux_amd64/hugo_0.20.2_linux_amd64 $HOME/bin/hugo
- echo $GOPATH
- export PATH=$PATH:$HOME/bin:$GOPATH/bin
- go get github.com/goadesign/goa
- go get github.com/goadesign/gorma
- cd tools/godoc2md && go get -v ./... && go build -o $HOME/bin/godoc2md && cd ../..
- cd tools/mdc && go get -v ./... && go build -o $HOME/bin/mdc && cd ../..
- sudo pip install Pygments
script:
- make docs
- hugo
- grunt lunr-index
- make linkcheck
deploy:
  provider: gcs
  access_key_id: <KEY>
  secret_access_key:
    secure: <KEY>
  bucket: goa.design
  local-dir: public
  skip-cleanup: true
  acl: public-read
  cache-control: max-age=300
  on:
    repo: goadesign/goa.design

{'fraction_non_alphanumeric': 0.15251798561151078, 'fraction_numerical': 0.04316546762589928, 'mean_word_length': 2.9582542694497156, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3453473', 'n_tokens_mistral': 949, 'n_tokens_neox': 880, 'n_words': 200}