Skip to content

Commit

Permalink
Update .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
torproject-sync committed Aug 16, 2017
1 parent 15bc2b1 commit dcda597
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,23 @@ before_script:
# instead.
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo "$SSH_SERVER_HOSTKEYS" > ~/.ssh/known_hosts'
test:

build:
script:
- "sh autogen.sh && ./configure && make && make install"

test:
script:
- "make test-full-online"

update:
script:
- echo "merging from torgit"
- git clone [email protected]:hiro/tor.git
- "cd tor"
- git remote add upstream https://git.torproject.org/tor.git
- git checkout master
- git config --global user.email "[email protected]"
- git config --global user.name "gitadmin"
- git pull -Xtheirs upstream master
- git push origin master
- git config --global user.email "[email protected]"
- git config --global user.name "gitadmin"
- git pull -Xtheirs upstream master
- git push origin master

0 comments on commit dcda597

Please sign in to comment.