Unverified Commit 1d87fbf3 authored by cgm616's avatar cgm616 Committed by GitHub

Update travis CI to update gitlab automatically

parent 87170c87
Pipeline #40241441 passed with stage
in 59 seconds
......@@ -8,3 +8,10 @@ install:
script:
- make build
after_success:
- |
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" ]]; then
git remote add gitlab https://oauth2:"$TOKEN"@gitlab.com/cgm616/cgm616.me.git
git push gitlab master
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment