[snap-engine] 04/06: Add travis, .gitignore, .gitattributes
Alastair McKinstry
mckinstry at moszumanska.debian.org
Wed Oct 25 10:49:03 UTC 2017
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch debian/master
in repository snap-engine.
commit c9d495a9ba56bb2c5f1a44f941aff5a1c77fb2ca
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Thu Aug 25 20:50:33 2016 +0100
Add travis, .gitignore, .gitattributes
---
.gitattributes | 17 +++++++++++++++++
.gitignore | 11 +++++++++++
.travis.yml | 31 +++++++++++++++++++++++++++++++
3 files changed, 59 insertions(+)
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..23808e4
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,17 @@
+# Set the default behavior, in case people don't have core.autocrlf set.
+* text=auto
+
+# Explicitly declare text files you want to always be normalized and converted
+# to native line endings on checkout.
+*.c text
+*.h text
+*.java text
+*.py text
+
+# Declare files that will always have CRLF line endings on checkout.
+*.bat text eol=crlf
+
+# Denote all files that are truly binary and should not be modified.
+*.png binary
+*.jpg binary
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b276803
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,11 @@
+*.iml
+*.ipr
+*.iws
+.idea/
+/config/
+/modules/
+/testdata/
+target/
+beam.ids
+src/main/sql/*.jar
+beampy.ini
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..fbdfdb6
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,31 @@
+language: java
+
+sudo: false
+
+jdk:
+ - oraclejdk8
+
+env:
+ global:
+ # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
+ # via the "travis encrypt" command using the project repo's public key
+ - secure: "xi036bV33rqcUZI28oOdlkafNaeIcyyNE4bxStbJBuI5Uxtz0Ks0oOJj8uU2WgjRN3IyxUJW+Jgev2CXfk0SlL5NJGKi0QLpVeIEEKgQDJXvyNwRFORclRKNQHRaRuOYeklsZD0pODBwYvIvF80xiQKMoeZ2r15GhNwKdtngi5o="
+
+addons:
+ coverity_scan:
+ project:
+ name: "senbox-org/snap-engine"
+ description: "Build submitted via Travis CI"
+ notification_email: stb-coverity at thor.si.c-s.fr
+ build_command_prepend: "mvn clean"
+ build_command: "mvn -DskipTests=true compile"
+ branch_pattern: coverity_scan
+
+before_install:
+ # Work around discontinued nexus.codehaus.org (see https://github.com/travis-ci/travis-ci/issues/4629)
+ # For building, everything is available in nexus.senbox.net, which is stored in pom.xml,
+ # so we just completely remove the default repositories settings
+ - cat ~/.m2/settings.xml
+ - sed -i -n '/<repositories>/{p; :a; N; /<\/repositories>/!ba; s/.*\n//}; p' ~/.m2/settings.xml
+ - cat ~/.m2/settings.xml
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/snap-engine.git
More information about the debian-science-commits
mailing list