mirror of
https://github.com/ru-de/faq.git
synced 2024-11-30 06:12:19 +00:00
22 lines
1006 B
YAML
22 lines
1006 B
YAML
language: go
|
|
sudo: required
|
|
before_install:
|
|
- export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH"
|
|
- export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH"
|
|
- sudo apt-get -qq update
|
|
- sudo apt-get install -y hunspell hunspell-ru hunspell-en-us hunspell-de-de
|
|
- curl -s https://extensions.libreoffice.org/extensions/russian-spellcheck-dictionary.-based-on-works-of-aot-group > .dict_page
|
|
- cat .dict_page | grep -oP "<a href.+title=\"Current release for the project\"" | grep -oP "https://extensions.libreoffice.org/extensions/russian-spellcheck-dictionary.-based-on-works-of-aot-group/[^\"]+" > .current_release
|
|
- echo -n $(cat .current_release) > .current_release
|
|
- echo -n "/@@download[^\"]+" >> .current_release
|
|
- cat .dict_page | grep -oP -f .current_release | wget -q -i - -O dictionary.otx
|
|
- unzip dictionary.otx
|
|
- git config core.quotepath false
|
|
- go get -u github.com/russross/blackfriday-tool
|
|
|
|
script:
|
|
- sh files/.travis.sh
|
|
|
|
notifications:
|
|
email: false
|