|
@ -18,6 +18,7 @@ cache: |
|
|
- .gradle/ |
|
|
- .gradle/ |
|
|
|
|
|
|
|
|
before_script: |
|
|
before_script: |
|
|
|
|
|
- apt-get update -qq && apt-get install -y -qq pandoc wget |
|
|
# Get sdk version from project |
|
|
# Get sdk version from project |
|
|
- export ANDROID_COMPILE_SDK=`egrep '^[[:blank:]]+compileSdkVersion' app/build.gradle | awk '{print $2}'` |
|
|
- export ANDROID_COMPILE_SDK=`egrep '^[[:blank:]]+compileSdkVersion' app/build.gradle | awk '{print $2}'` |
|
|
# Explict output for logging purpose only |
|
|
# Explict output for logging purpose only |
|
@ -94,6 +95,7 @@ release: |
|
|
only: |
|
|
only: |
|
|
- master |
|
|
- master |
|
|
before_script: |
|
|
before_script: |
|
|
|
|
|
- apt-get update -qq && apt-get install -y -qq pandoc wget |
|
|
- wget --quiet --output-document=/tmp/nvm-install.sh https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh |
|
|
- wget --quiet --output-document=/tmp/nvm-install.sh https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh |
|
|
- bash /tmp/nvm-install.sh |
|
|
- bash /tmp/nvm-install.sh |
|
|
- export NVM_DIR="$HOME/.nvm" &&. "$NVM_DIR/nvm.sh" && nvm install 8 |
|
|
- export NVM_DIR="$HOME/.nvm" &&. "$NVM_DIR/nvm.sh" && nvm install 8 |
|
|