Skip to content

Commit

Permalink
[Travis] Remove AWS uploading. Add DBO uploading.
Browse files Browse the repository at this point in the history
  • Loading branch information
MiracleM4n committed Mar 25, 2014
1 parent e8e59e4 commit f416253
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 83 deletions.
14 changes: 6 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@ jdk: oraclejdk7
before_install:
- "git clone https://github.com/Q0rDev/travis-ci-resources.git target/travis"
- "chmod +x target/travis/build.sh"
- "gem install --version 0.8.0 faraday"
- "gem install travis-artifacts"
- "chmod +x target/travis/upload.sh"

# Compile and package JAR and set build properties.
install: ./target/travis/build.sh
script: true

# Push artifacts to AWS.
# Upload to DBO if release build.
after_success:
- travis-artifacts upload --path target/*.jar --target-path artifacts/$TRAVIS_REPO_SLUG/$TRAVIS_BUILD_NUMBER
- "./target/travis/upload.sh"

notifications:
# Disable build status email notifications, until the issue with forks is fixed.
Expand All @@ -26,9 +25,8 @@ notifications:

env:
global:
# Nexus Deployment
- secure: "Gq8N/sDcUjSjVBmpoLcStE/7urrKBpvRm26NzapPyLindRd/floR5ss3gBGjSjl7qmL8W7AS4G1ntmuKUFum4SLeDlHL6Ie+CIEb2AaQWSHxr+9UEaNotsc5A9TuMkgXgbnD4rlRXFbtmkhSS00w4K/2OPkZOPcmeBjimP7/P80="
- secure: "qeop7flJXROsQgITtn5GpgjP02MwpV2C8+5kDqMoIsSKV9TtirJ+nGM9xqxMIbpbKf/ieoMBVZmDzjBOIzEWdiVD5/qYXLp2wVOPNE/JKVhypO/nvZ06o54z76U3CeyDoByhqndkJGVbu4QfagXdRbi4T58RFDydHo3JfvKdAIU="
- "ARTIFACTS_AWS_REGION=us-east-1"
- "ARTIFACTS_S3_BUCKET=q0r-artifacts"
- secure: "bEpA0gmAiP+d5T0FbF1J5MWXa2/VfdosGo43bIVInEz15Wa6ekHRI2qxm5AcojjTRVsYlXSfzvRLV6EdQ+mXMjniC+ZQaeqD/d49CPJ5K3aId/Efbmv+SbTX9ooOJ64KZ+VlYL3YFceZxdOcYIAZN7VPgi2PjVA8sI4MO4K82QM="
- secure: "JPMCjS8G5GVF4mJC/bpgx4wF5lLuSB4NFXe1ILt7wcvP3XnYcFEHJfotA1bClfcHuzxvA3mmXj0SYjI7+OVnkqRj8zOULANoKiuslfAND7NILba8470MTOKOgbSfXXSyblbLN0GG0pmzePXIOtY8bWD6ULQBuQ34H5OjMUOIWgE="
# Bukkit
- secure: "DWFJMIaJ/dNJgCSX3mE6O6atLqQTxAM7dx7yzxGSz1Fgc9ncvKxG9dwyw89rhZU9PE+qTWs0awsbatwdl/cjtQcLUgaOdNtdm07FaDfvC9isk1GMLsWgrYe/Et61lMfOSmEaUoS5kms8XV3D924Blvcs+sDVWPx5lpwtp3jbL1I="
96 changes: 21 additions & 75 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,50 +3,31 @@
<modelVersion>4.0.0</modelVersion>

<!-- Project information -->
<groupId>ca.q0r</groupId>
<artifactId>MSocial</artifactId>
<version>1.7.2-R1.0</version>
<name>MSocial</name>
<url>http://q0r.ca/</url>
<description>PM funcionatily, Shout, Mute, etc.</description>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<buildNumber>b0trvs</buildNumber>
</properties>

<!-- Source code -->
<scm>
<developerConnection>scm:git:git@github.com:Q0rDev/${project.name}.git</developerConnection>
<connection>scm:git:git://github.com/Q0rDev/${project.name}.git</connection>
<url>https://github.com/Q0rDev/${project.name}</url>
</scm>

<!-- Continuous integration -->
<ciManagement>
<system>travis</system>
<url>https://travis-ci.org/Q0rDev/${project.name}</url>
</ciManagement>

<!-- Maven repository -->
<distributionManagement>
<repository>
<id>oss-nexus-releases</id>
<name>OSS Releases</name>
<url>https://oss.sonatype.org/content/repositories/releases/</url>
</repository>
<snapshotRepository>
<id>oss-nexus-snapshots</id>
<name>OSS Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
<artifactId>MSocial</artifactId>
<packaging>jar</packaging>
<version>1.7.2-R1.0.0-SNAPSHOT</version>
<url>https://github.com/Q0rDev/MSocial</url>
<description>PM, Shout, Mute, etc.</description>

<!-- Parent information -->
<parent>
<groupId>ca.q0r</groupId>
<artifactId>q0rdev-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>

<!-- Issue management -->
<issueManagement>
<system>jira</system>
<url>https://q0rdev.atlassian.net/browse/MSOCIAL</url>
</issueManagement>

<!-- Repository locations -->
<repositories>
<repository>
<id>q0r-repo</id>
<url>http://nexus.q0r.ca/content/groups/public</url>
<id>oss-repo</id>
<url>https://oss.sonatype.org/content/groups/public</url>
<releases>
<updatePolicy>always</updatePolicy>
</releases>
Expand All @@ -56,47 +37,12 @@
</repository>
</repositories>

<build>
<defaultGoal>clean install</defaultGoal>
<!-- Resources -->
<resources>
<resource>
<targetPath>.</targetPath>
<filtering>true</filtering>
<directory>${basedir}/src/main/resources/</directory>
<includes>
<include>*.yml</include>
</includes>
</resource>
</resources>
<!-- Plugins -->
<plugins>
<!-- Compile plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<!-- JAR creation plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
</plugin>
</plugins>
</build>

<!-- Dependencies -->
<dependencies>
<dependency>
<groupId>ca.q0r</groupId>
<artifactId>MChat</artifactId>
<version>1.7.2-R1.0</version>
<version>1.7.2-R1.0.0-SNAPSHOT</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
Expand Down

0 comments on commit f416253

Please sign in to comment.