mirror of
https://github.com/ru-de/faq.git
synced 2024-11-22 02:12:19 +00:00
skip travis commits
This commit is contained in:
parent
de8b7f7bcd
commit
ca1a9aaf5f
@ -11,11 +11,11 @@ git:
|
||||
install:
|
||||
- export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH"
|
||||
- export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH"
|
||||
- sudo env PATH=$PATH GOPATH=$GOPATH sh files/check-install.sh
|
||||
- sudo env PATH=$PATH GOPATH=$GOPATH bash files/check-install.sh
|
||||
|
||||
script:
|
||||
- sh files/check.sh
|
||||
- sh files/run_on_master.sh
|
||||
- bash files/check.sh
|
||||
- bash files/run_on_master.sh
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
@ -6,4 +6,4 @@ ENV GOPATH "/home/travis/gopath"
|
||||
ENV GOROOT "/home/travis/.gimme/versions/go1.7.4.linux.amd64"
|
||||
ENV PATH "$GOPATH/bin:$GOROOT/bin:$PATH"
|
||||
COPY check-install.sh /tmp
|
||||
RUN sh /tmp/check-install.sh
|
||||
RUN bash /tmp/check-install.sh
|
||||
|
@ -170,5 +170,5 @@ yandex
|
||||
Хостелы
|
||||
цій
|
||||
ывро
|
||||
явника
|
||||
який
|
||||
явника
|
||||
|
@ -7,6 +7,6 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
container_name: ru_de_checker
|
||||
user: travis
|
||||
command: bash -l -c "cd /home/travis/ru-de-faq && sh files/check.sh"
|
||||
command: bash -l -c "cd /home/travis/ru-de-faq && bash files/check.sh"
|
||||
volumes:
|
||||
- ../.:/home/travis/ru-de-faq
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
setup_git() {
|
||||
git config --global user.email "travis@travis-ci.org"
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
@ -8,6 +8,9 @@ skip() {
|
||||
exit 0
|
||||
}
|
||||
|
||||
[ "${TRAVIS_COMMIT_MESSAGE}" == "${TRAVIS_COMMIT_MESSAGE/Travis build/}" ] || \
|
||||
skip "Skip for travis updates."
|
||||
|
||||
[ "${TRAVIS_PULL_REQUEST}" = "false" ] || \
|
||||
skip "Not running master-only script for pull-requests."
|
||||
|
||||
@ -22,7 +25,7 @@ skip() {
|
||||
|
||||
dict_check() {
|
||||
LC_ALL=ru_RU.UTF8 sort files/dictionary.dic -C || \
|
||||
(LC_ALL=ru_RU.UTF8 sort files/dictionary.dic -o files/dictionary.dic -f && sh files/push.sh)
|
||||
(LC_ALL=ru_RU.UTF8 sort files/dictionary.dic -o files/dictionary.dic -f && bash files/push.sh)
|
||||
}
|
||||
|
||||
dict_check
|
||||
|
Loading…
Reference in New Issue
Block a user