Skip to content

Commit

Permalink
Récupérer version project depuis pom.xml sur Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Sep 29, 2016
1 parent 10a6d8e commit 9130c76
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .travis.yml
@@ -1,3 +1,11 @@
language: java
jdk:
- oraclejdk8
jdk: oraclejdk8
sudo: required
dist: trusty

before_install:
- export APP_VERSION=`mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version`
- echo $APP_VERSION

script:
- mvn clean package -Dmaven.test.skip=true
4 changes: 4 additions & 0 deletions README.md
@@ -0,0 +1,4 @@
[![Latest release](https://img.shields.io/github/release/lgangloff/crossfit-2.0.svg?style=flat-square)](https://github.com/lgangloff/crossfit-2.0/releases)
[![Build Status](https://img.shields.io/travis/lgangloff/crossfit-2.0/master.svg?style=flat-square)](https://travis-ci.org/lgangloff/crossfit-2.0)

# Crossfit 2.0

0 comments on commit 9130c76

Please sign in to comment.