Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 067595f

Browse files
authored
Update .travis.yml
Reorganized `.travis.yml` script to limit the size of outputs showing by default in console.
1 parent 97e408c commit 067595f

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.travis.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ cache:
5959
- node_modules
6060

6161
before_install:
62+
#The update_project_version is done before deployment to validate that the change of project files does not break installation
63+
- bash .travis/update_project_version.sh
64+
- git config --global user.email "[email protected]"
65+
- git config --global user.name "${UTPLSQL_BUILD_USER_NAME}"
66+
- git remote rm origin
67+
- git remote add origin https://${github_api_token}@github.com/${UTPLSQL_REPO}
6268
# download latest utPLSQL release
6369
#- curl -LOk $(curl --silent https://api.github.com/repos/utPLSQL/utPLSQL/releases/latest | awk '/browser_download_url/ { print $2 }' | grep ".zip" | sed 's/"//g')
6470
- git clone --depth=1 --branch=develop https://github.com/utPLSQL/utPLSQL.git $UTPLSQL_DIR
@@ -76,18 +82,12 @@ install:
7682
- df -h
7783

7884
before_script:
79-
#The update_project_version is done before deployment to validate that the change of project files does not break installation
80-
- bash .travis/update_project_version.sh
81-
- git config --global user.email "[email protected]"
82-
- git config --global user.name "${UTPLSQL_BUILD_USER_NAME}"
83-
- git remote rm origin
84-
- git remote add origin https://${github_api_token}@github.com/${UTPLSQL_REPO}
85-
86-
script:
8785
- if [ "${TRAVIS_TAG}" = "" ]; then bash .travis/install.sh; fi
8886
- if [ "${TRAVIS_TAG}" = "" ]; then bash .travis/install_utplsql_release.sh; fi
8987
- if [ "${TRAVIS_TAG}" = "" ]; then bash .travis/create_additional_grants_for_old_tests.sh; fi
9088
- if [ "${TRAVIS_TAG}" = "" ]; then bash .travis/run_examples.sh; fi
89+
90+
script:
9191
- if [ "${TRAVIS_TAG}" = "" ]; then bash .travis/run_old_tests.sh; fi
9292
- if [ "${TRAVIS_TAG}" = "" ]; then bash test/install_and_run_tests.sh; fi
9393
- if [ "${TRAVIS_TAG}" = "" ] && [ "${TRAVIS_REPO_SLUG}" = "${UTPLSQL_REPO}" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then sonar-scanner; fi

0 commit comments

Comments
 (0)