Files
alfresco-community-repo/scripts/travis/build.sh
Alan Davis 13bfefc1f1 REPO-5271 Backport new structure to relaese/6.0.0 (#14)
- Simplify dependencies and standardise order
- README updated
- Green builds
- Changes to make Jars in enterprise war match
- Changes to make files in enterprise image match
- Added travis_wait 40 to the initial build as it can take 20 minutes to download artifacts
- Removed TAS tests from .travis.yml but not the code as TAS tests require Java 11 - Added in an empty test so the build runs on feature branches.
2020-09-27 10:58:57 +01:00

10 lines
259 B
Bash

#!/usr/bin/env bash
set -ev
pushd "$(dirname "${BASH_SOURCE[0]}")/../../"
PROFILES="$([ "${TRAVIS_BUILD_STAGE_NAME,,}" = "release" ] && echo "-Pinternal" || echo "-PcommunityDocker" )"
mvn -B -V install -DskipTests -Dmaven.javadoc.skip=true "${PROFILES}"