add travis

This commit is contained in:
shellhub
2020-10-24 17:56:57 +08:00
parent 58f462b629
commit c05dd46f5e
2 changed files with 10 additions and 1 deletions

9
.travis.yml Normal file
View File

@ -0,0 +1,9 @@
language: java
script:
- find . -type f -name "*.java" > sources.txt
- javac @sources.txt
notifications:
webhooks: https://www.travisbuddy.com/
on_success: never
on_failure: always

View File

@ -1,5 +1,5 @@
# The Algorithms - Java
[![Build Status](https://img.shields.io/travis/TheAlgorithms/Java.svg?label=Travis%20CI&logo=travis&style=flat-square)](https://travis-ci.com/TheAlgorithms/Java) 
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/TheAlgorithms/100)
[![Gitter chat](https://img.shields.io/badge/Chat-Gitter-ff69b4.svg?label=Chat&logo=gitter&style=flat-square)](https://gitter.im/TheAlgorithms)