1
0
mirror of https://github.com/ru-de/faq.git synced 2025-02-16 20:26:32 +00:00
faq-de/.travis.yml

22 lines
1006 B
YAML
Raw Normal View History

2017-05-18 16:13:34 +02:00
language: go
2017-05-18 16:18:22 +02:00
sudo: required
2016-01-14 16:36:55 +01:00
before_install:
2017-01-12 14:23:32 +01:00
- export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH"
- export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH"
2016-01-14 16:36:55 +01:00
- sudo apt-get -qq update
2016-01-19 10:54:34 +01:00
- sudo apt-get install -y hunspell hunspell-ru hunspell-en-us hunspell-de-de
2017-01-11 23:58:16 +01:00
- 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
2016-01-16 21:39:48 +01:00
- unzip dictionary.otx
2016-01-19 16:31:33 +01:00
- git config core.quotepath false
2017-01-12 14:16:03 +01:00
- go get -u github.com/russross/blackfriday-tool
2016-01-14 15:46:56 +01:00
script:
2016-01-19 09:15:30 +01:00
- sh files/.travis.sh
2016-01-14 15:46:56 +01:00
notifications:
email: false