Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 5bf6410

Browse files
committed
Updating Travis config
1 parent 094759d commit 5bf6410

File tree

6 files changed

+12
-18
lines changed

6 files changed

+12
-18
lines changed

.travis.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,11 @@ language: java
22
jdk:
33
- oraclejdk8
44
sudo: true
5-
before_install:
6-
- echo 'America/Los_Angeles' | sudo tee /etc/timezone
7-
- sudo dpkg-reconfigure --frontend noninteractive tzdata
85
install:
9-
- ./shared/dev-tasks/install-dependencies.sh
6+
- ./.travis/install-dependencies.sh
107
script:
11-
- ./shared/dev-tasks/run-tests.sh
12-
13-
#whitelist
8+
- ./.travis/run-tests.sh
149
branches:
1510
only:
1611
- master
17-
- dev
12+
- dev

.travis/install-dependencies.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
if [ "${TRAVIS_SECURE_ENV_VARS}" = "true" ] ; then
4+
./.travis/travis-install-ml.sh release
5+
./.travis/setup-marklogic.sh
6+
fi
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/bin/bash
22

33
if [ "${TRAVIS_SECURE_ENV_VARS}" = "true" ] ; then
4-
cd ${TRAVIS_BUILD_DIR}
5-
./gradlew test -i
4+
./gradlew clean test
65
fi
File renamed without changes.

shared/dev-tasks/travis-install-ml.sh renamed to .travis/travis-install-ml.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ else
4545
# if the user passed a day string as a param then use it instead
4646
test $1 && day=$1
4747
# make a version number out of the date
48-
ver="9.0-$day"
48+
ver="8.0-$day"
4949

5050
echo "********* Downloading MarkLogic nightly $ver"
5151

@@ -56,7 +56,7 @@ else
5656
suff="_amd64.deb"
5757
fnamedeb=$fnamedeb$suff
5858

59-
url="https://root.marklogic.com/nightly/builds/linux64-rh7/rh7v-intel64-90-test-build.marklogic.com/b9_0/pkgs.$day/$fname"
59+
url="https://root.marklogic.com/nightly/builds/linux64/rh6-intel64-80-test-1.marklogic.com/b8_0/pkgs.$day/$fname"
6060

6161
status=$(curl -k --anyauth -u $MLBUILD_USER:$MLBUILD_PASSWORD --head --write-out %{http_code} --silent --output /dev/null $url)
6262
if [[ $status = 200 ]]; then

shared/dev-tasks/install-dependencies.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)