Skip to content

Commit 3845839

Browse files
author
Miguel Ángel Martín
authored
ACS-1237 Add Travis conf (#13)
* ACS-1237 Add Travis conf * ACS-1237 Add Maven settings * ACS-1237 Add pre-commit-config * ACS-1237 remove distribution override
1 parent b46ece0 commit 3845839

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

.pre-commit-config.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
repos:
2+
- repo: https://github.com/Alfresco/alfresco-build-tools
3+
rev: v1.0.0
4+
hooks:
5+
- id: travis-yml-lint
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v3.4.0
8+
hooks:
9+
- id: check-yaml
10+
args: [--allow-multiple-documents]
11+
- id: check-json
12+
- id: check-xml

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import:
2+
- source: Alfresco/alfresco-build-tools:[email protected]
3+
- source: Alfresco/alfresco-build-tools:[email protected]
4+
- source: Alfresco/alfresco-process-scripts:slack_apa_channel_notification.yml@master

settings.xml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
4+
<servers>
5+
<server>
6+
<id>alfresco-internal</id>
7+
<username>${env.MAVEN_USERNAME}</username>
8+
<password>${env.MAVEN_PASSWORD}</password>
9+
</server>
10+
<server>
11+
<id>alfresco-internal-snapshots</id>
12+
<username>${env.MAVEN_USERNAME}</username>
13+
<password>${env.MAVEN_PASSWORD}</password>
14+
</server>
15+
</servers>
16+
</settings>

0 commit comments

Comments
 (0)