1 Star 0 Fork 0

hzhlu/asn1-playground

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
yafred 提交于 2020-04-04 11:48 . Fix build
language: node_js
dist: trusty
if: tag IS present
env:
- TOOL_VERSION=$TRAVIS_TAG
before_script:
- echo "JAVA_HOME=/usr/local/openjdk-8" > .env
- echo "WORKING_DIR=/tmp" >> .env
- echo "ASN1_COMPILER_JAR=/usr/src/app/asn1-compiler-with-google-java-format.jar" >> .env
- echo "ASN1_CONVERTER_JAR=/usr/src/app/asn1-converter.jar" >> .env
- echo "ASN1_RUNTIME_JAR=/usr/src/app/asn1-runtime.jar" >> .env
- echo "VERSION=$TRAVIS_TAG" >> .env
- wget https://github.com/yafred/asn1-tool/releases/download/$TOOL_VERSION/asn1-compiler-with-google-java-format.jar
- wget https://github.com/yafred/asn1-tool/releases/download/$TOOL_VERSION/asn1-converter.jar
- wget https://github.com/yafred/asn1-tool/releases/download/$TOOL_VERSION/asn1-runtime.jar
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build -t "$DOCKER_USERNAME"/asn1-playground .
- docker tag "$DOCKER_USERNAME"/asn1-playground "$DOCKER_USERNAME"/asn1-playground:"$TRAVIS_TAG"
- docker images
- docker push "$DOCKER_USERNAME"/asn1-playground
- docker push "$DOCKER_USERNAME"/asn1-playground:"$TRAVIS_TAG"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/hzhlu/asn1-playground.git
[email protected]:hzhlu/asn1-playground.git
hzhlu
asn1-playground
asn1-playground
master

搜索帮助