加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 910 Bytes
一键复制 编辑 原始数据 按行查看 历史
Geng Zhang 提交于 2018-04-12 20:55 . Add maven profiles. (#4)
#.travis.yml
language: java
addons:
apt:
packages:
- openjdk-6-jdk
jdk:
- oraclejdk8
- openjdk7
- openjdk6
before_install:
- echo "Downloading Maven 3.2.5"
&& wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip
&& unzip -qq apache-maven-3.2.5-bin.zip
&& export M2_HOME=$PWD/apache-maven-3.2.5
&& export PATH=$M2_HOME/bin:$PATH
&& mvn -version
- echo "Install Zookeeper 3.4.11"
&& wget http://www-us.apache.org/dist/zookeeper/zookeeper-3.4.11/zookeeper-3.4.11.tar.gz
&& tar -zxf zookeeper-3.4.11.tar.gz
&& mv zookeeper-3.4.11/conf/zoo_sample.cfg zookeeper-3.4.11/conf/zoo.cfg
&& /bin/bash zookeeper-3.4.11/bin/zkServer.sh start
install:
- mvn clean install -Pci-install -B -U -e
- sh ./tools/check_format.sh
script:
- mvn clean package -Pci-test
after_success:
- bash <(curl -s https://codecov.io/bash)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化