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:
|
install:
|
||||||
- export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH"
|
- export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH"
|
||||||
- export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH"
|
- 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:
|
script:
|
||||||
- sh files/check.sh
|
- bash files/check.sh
|
||||||
- sh files/run_on_master.sh
|
- bash files/run_on_master.sh
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
@ -6,4 +6,4 @@ ENV GOPATH "/home/travis/gopath"
|
|||||||
ENV GOROOT "/home/travis/.gimme/versions/go1.7.4.linux.amd64"
|
ENV GOROOT "/home/travis/.gimme/versions/go1.7.4.linux.amd64"
|
||||||
ENV PATH "$GOPATH/bin:$GOROOT/bin:$PATH"
|
ENV PATH "$GOPATH/bin:$GOROOT/bin:$PATH"
|
||||||
COPY check-install.sh /tmp
|
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
|
dockerfile: Dockerfile
|
||||||
container_name: ru_de_checker
|
container_name: ru_de_checker
|
||||||
user: travis
|
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:
|
volumes:
|
||||||
- ../.:/home/travis/ru-de-faq
|
- ../.:/home/travis/ru-de-faq
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
setup_git() {
|
setup_git() {
|
||||||
git config --global user.email "travis@travis-ci.org"
|
git config --global user.email "travis@travis-ci.org"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
@ -8,6 +8,9 @@ skip() {
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[ "${TRAVIS_COMMIT_MESSAGE}" == "${TRAVIS_COMMIT_MESSAGE/Travis build/}" ] || \
|
||||||
|
skip "Skip for travis updates."
|
||||||
|
|
||||||
[ "${TRAVIS_PULL_REQUEST}" = "false" ] || \
|
[ "${TRAVIS_PULL_REQUEST}" = "false" ] || \
|
||||||
skip "Not running master-only script for pull-requests."
|
skip "Not running master-only script for pull-requests."
|
||||||
|
|
||||||
@ -22,7 +25,7 @@ skip() {
|
|||||||
|
|
||||||
dict_check() {
|
dict_check() {
|
||||||
LC_ALL=ru_RU.UTF8 sort files/dictionary.dic -C || \
|
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
|
dict_check
|
||||||
|
Loading…
Reference in New Issue
Block a user