-
Notifications
You must be signed in to change notification settings - Fork 223
/
.travis.yml
31 lines (24 loc) · 1.46 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
language: bash
sudo: required
before_install:
- sudo add-apt-repository ppa:cpick/hub -y
- sudo apt-get update
- sudo apt-get install -y tree
- sudo apt-get install -y sed
- sudo apt-get install -y hub
install:
- git config --global user.name "devsitebot"
- git config --global user.email "[email protected]"
- git clone -b installing-devsite https://[email protected]/mercadolibre/fury_mercadopago-devsite.git
- (cd fury_mercadopago-devsite/ && git submodule update --init --recursive)
- (cd fury_mercadopago-devsite/ && git branch feature-$TRAVIS_BRANCH)
- (cd fury_mercadopago-devsite/ && git checkout feature-$TRAVIS_BRANCH)
- (cd fury_mercadopago-devsite/src/source/docs/ && git fetch --all)
- (cd fury_mercadopago-devsite/src/source/docs/ && git checkout $TRAVIS_BRANCH)
- (cd fury_mercadopago-devsite/ && git remote set-url --push origin https://[email protected]/mercadopago/devsite-docs.git)
- (cd fury_mercadopago-devsite/src/source && git add . && git commit -m "updating docs reference" && git push origin master)
- (cd fury_mercadopago-devsite/ && git remote set-url --push origin https://[email protected]/mercadolibre/fury_mercadopago-devsite.git)
- (cd fury_mercadopago-devsite/ && git add . && git commit -m "updating source reference" && git push origin feature-$TRAVIS_BRANCH)
- (cd fury_mercadopago-devsite/ && hub pull-request -b feature-$TRAVIS_BRANCH -h master)
script:
- (bash -c " echo no tests ")