The .travis.yml file
see https://medium.com/@mglover/automated-java-tests-with-gradle-and-travis-ci-a6c8897231a2
What Travis Ci Does for you
it automatically runs a special "build file" anytime the associated code in a GitHub repository recieves a push.
-
this build file is called .travis.yml
-
you can specify to run TEST --unit tests in your code (in fact it is typically the default).
-
It will report (and even email you) the results --if it passed or failed. HOWEVER it does not ALWAYS tell you the detailed results of testing ---it is a kind of "STOP GAP" to not allow bad code --or rather to ALTER you bad code is entered. You can also have separate scripts you choose to run in addition to TEST cases. Email has link to take you to GitHub so you can see the changes in the code to help you figure out where it failed.
HERE are few cases --first passes, second fails after I introduced a compile error.
Lets add a test method in our Test Class that will fail
RESULTS>.>>>
>>See the email I got
The Travis Ci Process
The .travis.yml file
EXAMPLE 1 - this is the most basic but, will invoke anyJUnit test cases you have in your test directory
language: java
|
EXAMPLE 2 - calling gradle build and then check (the later calls the test classes)NOTE: this is essentially the same as Example 1 but, wanted to show you different version ....read Travis Ci documentation to learn about all options
language: java jdk: oraclejdk11 |
CAUTION: you really need to make your tests fine grained enough so that when a particular test fails like in the example at the top you know what is going on....(and ofcourse you can test locally and pull down changes from others from GitHub). See the following and READ THIS --unfortunately while Travis Ci says there are HTML files for you to see --as this is a VM there is no way to actually see them (you do not have access to VM this way). So while you can dump the HTML report it has links to other files so it is kind of useless. |
EXAMPLE 3 - extending Example 2 by adding if there is a failure to dump the created index.html page documenting the errors.Remember this is a virtual Unix machine. Any code after after_failure will be executed.So here I simply did cat filename and cat dumps the file but, if I had a server I could upload it to the server instead or?Also added the install of mpack (an email tool) in the VM so I can also email the file to myself
language: java |
DETAILS....What you see when you do a push to Git from Travis Ci Console
At first you see it has recieved the build request and is launch a Virtual Machine
NEXT it will go through the items in the .travis.yml file and execute them.
.travis.yml file (says using Java, will istall oraclejdk11 inside VM and will make gradlew file executable and will then run script
which will build the gradle project (that is on GitHub) and will then run check which will run any test class and then does a silly echo of 'hello to the screen'
language: java
jdk: oraclejdk11
before_script:
- chmod +x gradlew
script:
gradle build && gradle check && echo 'hello'
NOTE: you can specify OS: windows (etc) but, the default virtual machine that is launched is Unix
Output in Travis Ci console from running build
travis_fold:start:worker_info
[0K[33;1mWorker information[0m
hostname: e3116a8d-6456-4b10-96e7-8abf17efb585@1.worker-com-7d6776f669-c7xgh.gce-production-3
version: v6.2.6 https://github.com/travis-ci/worker/tree/ba21bd30589fd152126e13df30e0cc78ccdf2837
instance: travis-job-620ca301-0f4c-48f7-99b9-0cd100a0d626 travis-ci-sardonyx-xenial-1576139512-68061e99 (via amqp)
startup: 6.287636972s
travis_fold:end:worker_info
[0Ktravis_time:start:00ca16a0
[0Ktravis_time:end:00ca16a0:start=1579387461036305268,finish=1579387461187103540,duration=150798272,event=no_world_writable_dirs
[0Ktravis_time:start:0073bdb0
[0Ktravis_time:end:0073bdb0:start=1579387461190488456,finish=1579387461199152562,duration=8664106,event=agent
[0Ktravis_time:start:26881560
[0Ktravis_time:end:26881560:start=1579387461202368268,finish=1579387461204565706,duration=2197438,event=check_unsupported
[0Ktravis_time:start:2ff46550
[0Ktravis_fold:start:system_info
[0K[33;1mBuild system information[0m
Build language: java
Build group: stable
Build dist: xenial
Build id: 145084404
Job id: 277256698
Runtime kernel version: 4.15.0-1050-gcp
travis-build version: 0485f70b4
[34m[1mBuild image provisioning date and time[0m
Thu Dec 12 09:02:35 UTC 2019
[34m[1mOperating System Details[0m
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
[34m[1mSystemd Version[0m
systemd 229
[34m[1mCookbooks Version[0m
e049581 https://github.com/travis-ci/travis-cookbooks/tree/e049581
[34m[1mgit version[0m
git version 2.24.1
[34m[1mbash version[0m
GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
[34m[1mgcc version[0m
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
[34m[1mdocker version[0m
Client:
Version: 18.06.0-ce
API version: 1.38
Go version: go1.10.3
Git commit: 0ffa825
Built: Wed Jul 18 19:11:02 2018
OS/Arch: linux/amd64
Experimental: false
Server:
Engine:
Version: 18.06.0-ce
API version: 1.38 (minimum version 1.12)
Go version: go1.10.3
Git commit: 0ffa825
Built: Wed Jul 18 19:09:05 2018
OS/Arch: linux/amd64
Experimental: false
[34m[1mclang version[0m
clang version 7.0.0 (tags/RELEASE_700/final)
[34m[1mjq version[0m
jq-1.5
[34m[1mbats version[0m
Bats 0.4.0
[34m[1mshellcheck version[0m
0.6.0
[34m[1mshfmt version[0m
v2.6.3
[34m[1mccache version[0m
3.2.4
[34m[1mcmake version[0m
cmake version 3.12.4
[34m[1mheroku version[0m
heroku/7.35.0 linux-x64 node-v12.13.0
[34m[1mimagemagick version[0m
Version: ImageMagick 6.8.9-9 Q16 x86_64 2019-11-12 http://www.imagemagick.org
[34m[1mmd5deep version[0m
4.4
[34m[1mmercurial version[0m
version 4.8
[34m[1mmysql version[0m
mysql Ver 14.14 Distrib 5.7.28, for Linux (x86_64) using EditLine wrapper
[34m[1mopenssl version[0m
OpenSSL 1.0.2g 1 Mar 2016
[34m[1mpacker version[0m
1.3.3
[34m[1mpostgresql client version[0m
psql (PostgreSQL) 10.11 (Ubuntu 10.11-1.pgdg16.04+1)
[34m[1mragel version[0m
Ragel State Machine Compiler version 6.8 Feb 2013
[34m[1msudo version[0m
1.8.16
[34m[1mgzip version[0m
gzip 1.6
[34m[1mzip version[0m
Zip 3.0
[34m[1mvim version[0m
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jun 07 2019 15:35:43)
[34m[1miptables version[0m
iptables v1.6.0
[34m[1mcurl version[0m
curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
[34m[1mwget version[0m
GNU Wget 1.17.1 built on linux-gnu.
[34m[1mrsync version[0m
rsync version 3.1.1 protocol version 31
[34m[1mgimme version[0m
v1.5.3
[34m[1mnvm version[0m
0.35.1
[34m[1mperlbrew version[0m
/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.87
[34m[1mphpenv version[0m
rbenv 1.1.2-11-gc46a970
[34m[1mrvm version[0m
rvm 1.29.9 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
[34m[1mdefault ruby version[0m
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
[34m[1mCouchDB version[0m
couchdb 1.6.1
[34m[1mElasticSearch version[0m
5.5.0
[34m[1mInstalled Firefox version[0m
firefox 63.0.1
[34m[1mMongoDB version[0m
MongoDB 4.0.13
[34m[1mPhantomJS version[0m
2.1.1
[34m[1mPre-installed PostgreSQL versions[0m
9.4.25
9.5.20
9.6.16
[34m[1mRedis version[0m
redis-server 5.0.7
[34m[1mPre-installed Go versions[0m
1.11.1
[34m[1mant version[0m
Apache Ant(TM) version 1.9.6 compiled on July 20 2018
[34m[1mmvn version[0m
Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; 2019-08-27T15:06:16Z)
[34m[1mgradle version[0m
Gradle 5.1.1!
[34m[1mlein version[0m
Leiningen 2.9.1 on Java 11.0.2 OpenJDK 64-Bit Server VM
[34m[1mPre-installed Node.js versions[0m
v10.17.0
v11.15.0
v12.13.1
v4.9.1
v6.17.1
v8.12.0
v8.16.2
v8.9
[34m[1mphpenv versions[0m
system
7.1
7.1.33
7.2
7.2.25
7.3
* 7.3.12 (set by /home/travis/.phpenv/version)
7.4
7.4.0
hhvm
hhvm-stable
[34m[1mcomposer --version[0m
Composer version 1.9.1 2019-11-01 17:20:17
[34m[1mPre-installed Ruby versions[0m
ruby-2.4.9
ruby-2.5.3
ruby-2.5.7
ruby-2.6.5
travis_fold:end:system_info
[0K
travis_time:end:2ff46550:start=1579387461208089688,finish=1579387461215058429,duration=6968741,event=show_system_info
[0Ktravis_time:start:255f6a00
[0Ktravis_time:end:255f6a00:start=1579387461217970059,finish=1579387461231174765,duration=13204706,event=rm_riak_source
[0Ktravis_time:start:26937ae3
[0Ktravis_time:end:26937ae3:start=1579387461234545747,finish=1579387461239806945,duration=5261198,event=fix_rwky_redis
[0Ktravis_time:start:101833e5
[0Ktravis_time:end:101833e5:start=1579387461242881277,finish=1579387461634045366,duration=391164089,event=wait_for_network
[0Ktravis_time:start:03053dba
[0Ktravis_time:end:03053dba:start=1579387461637276419,finish=1579387461856697733,duration=219421314,event=update_apt_keys
[0Ktravis_time:start:1256379c
[0Ktravis_time:end:1256379c:start=1579387461859766894,finish=1579387461911844264,duration=52077370,event=fix_hhvm_source
[0Ktravis_time:start:1be90f40
[0Ktravis_time:end:1be90f40:start=1579387461914967623,finish=1579387461917598384,duration=2630761,event=update_mongo_arch
[0Ktravis_time:start:26a5433c
[0Ktravis_time:end:26a5433c:start=1579387461920567401,finish=1579387461960216941,duration=39649540,event=fix_sudo_enabled_trusty
[0Ktravis_time:start:000287b8
[0Ktravis_time:end:000287b8:start=1579387461963400182,finish=1579387461965733824,duration=2333642,event=update_glibc
[0Ktravis_time:start:1a9f9e90
[0Ktravis_time:end:1a9f9e90:start=1579387461968675599,finish=1579387461976531296,duration=7855697,event=clean_up_path
[0Ktravis_time:start:0225f2c6
[0Ktravis_time:end:0225f2c6:start=1579387461979383594,finish=1579387461987460879,duration=8077285,event=fix_resolv_conf
[0Ktravis_time:start:17a83c0a
[0Ktravis_time:end:17a83c0a:start=1579387461990351573,finish=1579387461999144504,duration=8792931,event=fix_etc_hosts
[0Ktravis_time:start:024e59f5
[0Ktravis_time:end:024e59f5:start=1579387462002116625,finish=1579387462010525475,duration=8408850,event=fix_mvn_settings_xml
[0Ktravis_time:start:062c5410
[0Ktravis_time:end:062c5410:start=1579387462013510906,finish=1579387462022880177,duration=9369271,event=no_ipv6_localhost
[0Ktravis_time:start:297fd8c0
[0Ktravis_time:end:297fd8c0:start=1579387462025857387,finish=1579387462027967370,duration=2109983,event=fix_etc_mavenrc
[0Ktravis_time:start:04e2228e
[0Ktravis_time:end:04e2228e:start=1579387462030838167,finish=1579387462033706230,duration=2868063,event=fix_wwdr_certificate
[0Ktravis_time:start:0112ee16
[0Ktravis_time:end:0112ee16:start=1579387462036572401,finish=1579387462060579625,duration=24007224,event=put_localhost_first
[0Ktravis_time:start:06cb3898
[0Ktravis_time:end:06cb3898:start=1579387462063428949,finish=1579387462066566892,duration=3137943,event=home_paths
[0Ktravis_time:start:05ba28a8
[0Ktravis_time:end:05ba28a8:start=1579387462069519894,finish=1579387462082248551,duration=12728657,event=disable_initramfs
[0Ktravis_time:start:1f11b506
[0Ktravis_time:end:1f11b506:start=1579387462085140731,finish=1579387462427297635,duration=342156904,event=disable_ssh_roaming
[0Ktravis_time:start:02be3c6f
[0Ktravis_time:end:02be3c6f:start=1579387462430394130,finish=1579387462432655320,duration=2261190,event=debug_tools
[0Ktravis_time:start:1700d79c
[0Ktravis_time:end:1700d79c:start=1579387462435488876,finish=1579387462438473809,duration=2984933,event=uninstall_oclint
[0Ktravis_time:start:37f033e0
[0Ktravis_time:end:37f033e0:start=1579387462441270444,finish=1579387462444044182,duration=2773738,event=rvm_use
[0Ktravis_time:start:0202f10a
[0Ktravis_time:end:0202f10a:start=1579387462446841603,finish=1579387462454587685,duration=7746082,event=rm_etc_boto_cfg
[0Ktravis_time:start:0a51becf
[0Ktravis_time:end:0a51becf:start=1579387462457542377,finish=1579387462460490302,duration=2947925,event=rm_oraclejdk8_symlink
[0Ktravis_time:start:0757cb8d
[0Ktravis_time:end:0757cb8d:start=1579387462463340934,finish=1579387462565276816,duration=101935882,event=enable_i386
[0Ktravis_time:start:198b384e
[0Ktravis_time:end:198b384e:start=1579387462568653001,finish=1579387462574815144,duration=6162143,event=update_rubygems
[0Ktravis_time:start:191e7c7e
[0Ktravis_time:end:191e7c7e:start=1579387462577938313,finish=1579387463171661305,duration=593722992,event=ensure_path_components
[0Ktravis_time:start:03504af2
[0Ktravis_time:end:03504af2:start=1579387463175184379,finish=1579387463177636462,duration=2452083,event=redefine_curl
[0Ktravis_time:start:0072d554
[0Ktravis_time:end:0072d554:start=1579387463180777444,finish=1579387463182935520,duration=2158076,event=nonblock_pipe
[0Ktravis_time:start:012f7f84
[0Ktravis_time:end:012f7f84:start=1579387463186132011,finish=1579387469221049925,duration=6034917914,event=apt_get_update
[0Ktravis_time:start:036585b1
[0Ktravis_time:end:036585b1:start=1579387469224519696,finish=1579387469227038680,duration=2518984,event=deprecate_xcode_64
[0Ktravis_time:start:073f4670
[0Ktravis_time:end:073f4670:start=1579387469229906995,finish=1579387471653887335,duration=2423980340,event=update_heroku
[0Ktravis_time:start:1eff1253
[0Ktravis_time:end:1eff1253:start=1579387471657047450,finish=1579387471659612662,duration=2565212,event=shell_session_update
[0Ktravis_time:start:15464652
[0Ktravis_fold:start:docker_mtu
[0Ktravis_fold:end:docker_mtu
[0Ktravis_time:end:15464652:start=1579387471662434185,finish=1579387473811840959,duration=2149406774,event=set_docker_mtu
[0Ktravis_time:start:067ede21
[0Ktravis_fold:start:resolvconf
[0Ktravis_fold:end:resolvconf
[0Ktravis_time:end:067ede21:start=1579387473815438594,finish=1579387473882317869,duration=66879275,event=resolvconf
[0Ktravis_time:start:16ad7dd4
[0Ktravis_time:end:16ad7dd4:start=1579387473888104368,finish=1579387474040025786,duration=151921418,event=maven_central_mirror
[0K
travis_fold:start:install_jdk
[0K[33;1mInstalling oraclejdk11[0m
$ export JAVA_HOME=~/oraclejdk11
$ export PATH="$JAVA_HOME/bin:$PATH"
$ ~/bin/install-jdk.sh --target "/home/travis/oraclejdk11" --workspace "/home/travis/.cache/install-jdk" --feature "11" --license "BCL"
Ignoring license option: BCL -- using GPLv2+CE by default
install-jdk.sh 2020-01-14
Variables:
feature = 11
os = linux-x64
url = https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_linux-x64_bin.tar.gz
status = 200
Downloading JDK from https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_linux-x64_bin.tar.gz...
Using custom target: /home/travis/oraclejdk11
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
travis_fold:end:install_jdk
[0Ktravis_time:start:1cee8ab8
[0Ktravis_time:end:1cee8ab8:start=1579387481748815281,finish=1579387481751026981,duration=2211700,event=fix_ps4
[0Ktravis_time:start:02b34053
[0K
travis_fold:start:git.checkout
[0Ktravis_time:start:03a83d44
[0K$ git clone --depth=50 --branch=master https://github.com/grewe/HelloWorld_CS401_Gradle.git grewe/HelloWorld_CS401_Gradle
Cloning into 'grewe/HelloWorld_CS401_Gradle'...
remote: Enumerating objects: 113, done.[K
remote: Counting objects: 0% (1/113)[K
remote: Counting objects: 1% (2/113)[K
remote: Counting objects: 2% (3/113)[K
remote: Counting objects: 3% (4/113)[K
remote: Counting objects: 4% (5/113)[K
remote: Counting objects: 5% (6/113)[K
remote: Counting objects: 6% (7/113)[K
remote: Counting objects: 7% (8/113)[K
remote: Counting objects: 8% (10/113)[K
remote: Counting objects: 9% (11/113)[K
remote: Counting objects: 10% (12/113)[K
remote: Counting objects: 11% (13/113)[K
remote: Counting objects: 12% (14/113)[K
remote: Counting objects: 13% (15/113)[K
remote: Counting objects: 14% (16/113)[K
remote: Counting objects: 15% (17/113)[K
remote: Counting objects: 16% (19/113)[K
remote: Counting objects: 17% (20/113)[K
remote: Counting objects: 18% (21/113)[K
remote: Counting objects: 19% (22/113)[K
remote: Counting objects: 20% (23/113)[K
remote: Counting objects: 21% (24/113)[K
remote: Counting objects: 22% (25/113)[K
remote: Counting objects: 23% (26/113)[K
remote: Counting objects: 24% (28/113)[K
remote: Counting objects: 25% (29/113)[K
remote: Counting objects: 26% (30/113)[K
remote: Counting objects: 27% (31/113)[K
remote: Counting objects: 28% (32/113)[K
remote: Counting objects: 29% (33/113)[K
remote: Counting objects: 30% (34/113)[K
remote: Counting objects: 31% (36/113)[K
remote: Counting objects: 32% (37/113)[K
remote: Counting objects: 33% (38/113)[K
remote: Counting objects: 34% (39/113)[K
remote: Counting objects: 35% (40/113)[K
remote: Counting objects: 36% (41/113)[K
remote: Counting objects: 37% (42/113)[K
remote: Counting objects: 38% (43/113)[K
remote: Counting objects: 39% (45/113)[K
remote: Counting objects: 40% (46/113)[K
remote: Counting objects: 41% (47/113)[K
remote: Counting objects: 42% (48/113)[K
remote: Counting objects: 43% (49/113)[K
remote: Counting objects: 44% (50/113)[K
remote: Counting objects: 45% (51/113)[K
remote: Counting objects: 46% (52/113)[K
remote: Counting objects: 47% (54/113)[K
remote: Counting objects: 48% (55/113)[K
remote: Counting objects: 49% (56/113)[K
remote: Counting objects: 50% (57/113)[K
remote: Counting objects: 51% (58/113)[K
remote: Counting objects: 52% (59/113)[K
remote: Counting objects: 53% (60/113)[K
remote: Counting objects: 54% (62/113)[K
remote: Counting objects: 55% (63/113)[K
remote: Counting objects: 56% (64/113)[K
remote: Counting objects: 57% (65/113)[K
remote: Counting objects: 58% (66/113)[K
remote: Counting objects: 59% (67/113)[K
remote: Counting objects: 60% (68/113)[K
remote: Counting objects: 61% (69/113)[K
remote: Counting objects: 62% (71/113)[K
remote: Counting objects: 63% (72/113)[K
remote: Counting objects: 64% (73/113)[K
remote: Counting objects: 65% (74/113)[K
remote: Counting objects: 66% (75/113)[K
remote: Counting objects: 67% (76/113)[K
remote: Counting objects: 68% (77/113)[K
remote: Counting objects: 69% (78/113)[K
remote: Counting objects: 70% (80/113)[K
remote: Counting objects: 71% (81/113)[K
remote: Counting objects: 72% (82/113)[K
remote: Counting objects: 73% (83/113)[K
remote: Counting objects: 74% (84/113)[K
remote: Counting objects: 75% (85/113)[K
remote: Counting objects: 76% (86/113)[K
remote: Counting objects: 77% (88/113)[K
remote: Counting objects: 78% (89/113)[K
remote: Counting objects: 79% (90/113)[K
remote: Counting objects: 80% (91/113)[K
remote: Counting objects: 81% (92/113)[K
remote: Counting objects: 82% (93/113)[K
remote: Counting objects: 83% (94/113)[K
remote: Counting objects: 84% (95/113)[K
remote: Counting objects: 85% (97/113)[K
remote: Counting objects: 86% (98/113)[K
remote: Counting objects: 87% (99/113)[K
remote: Counting objects: 88% (100/113)
remote: Counting objects: 89% (101/113)[K
remote: Counting objects: 90% (102/113)[K
remote: Counting objects: 91% (103/113)[K
remote: Counting objects: 92% (104/113)[K
remote: Counting objects: 93% (106/113)[K
remote: Counting objects: 94% (107/113)[K
remote: Counting objects: 95% (108/113)[K
remote: Counting objects: 96% (109/113)[K
remote: Counting objects: 97% (110/113)[K
remote: Counting objects: 98% (111/113)[K
remote: Counting objects: 99% (112/113)[K
remote: Counting objects: 100% (113/113)[K
remote: Counting objects: 100% (113/113), done.[K
remote: Compressing objects: 1% (1/80)[K
remote: Compressing objects: 2% (2/80)[K
remote: Compressing objects: 3% (3/80)[K
remote: Compressing objects: 5% (4/80)[K
remote: Compressing objects: 6% (5/80)[K
remote: Compressing objects: 7% (6/80)[K
remote: Compressing objects: 8% (7/80)[K
remote: Compressing objects: 10% (8/80)[K
remote: Compressing objects: 11% (9/80)[K
remote: Compressing objects: 12% (10/80)[K
remote: Compressing objects: 13% (11/80)[K
remote: Compressing objects: 15% (12/80)[K
remote: Compressing objects: 16% (13/80)[K
remote: Compressing objects: 17% (14/80)[K
remote: Compressing objects: 18% (15/80)[K
remote: Compressing objects: 20% (16/80)[K
remote: Compressing objects: 21% (17/80)[K
remote: Compressing objects: 22% (18/80)[K
remote: Compressing objects: 23% (19/80)[K
remote: Compressing objects: 25% (20/80)[K
remote: Compressing objects: 26% (21/80)[K
remote: Compressing objects: 27% (22/80)[K
remote: Compressing objects: 28% (23/80)[K
remote: Compressing objects: 30% (24/80)[K
remote: Compressing objects: 31% (25/80)[K
remote: Compressing objects: 32% (26/80)[K
remote: Compressing objects: 33% (27/80)[K
remote: Compressing objects: 35% (28/80)[K
remote: Compressing objects: 36% (29/80)[K
remote: Compressing objects: 37% (30/80)[K
remote: Compressing objects: 38% (31/80)[K
remote: Compressing objects: 40% (32/80)[K
remote: Compressing objects: 41% (33/80)[K
remote: Compressing objects: 42% (34/80)[K
remote: Compressing objects: 43% (35/80)[K
remote: Compressing objects: 45% (36/80)[K
remote: Compressing objects: 46% (37/80)[K
remote: Compressing objects: 47% (38/80)[K
remote: Compressing objects: 48% (39/80)[K
remote: Compressing objects: 50% (40/80)[K
remote: Compressing objects: 51% (41/80)[K
remote: Compressing objects: 52% (42/80)[K
remote: Compressing objects: 53% (43/80)[K
remote: Compressing objects: 55% (44/80)[K
remote: Compressing objects: 56% (45/80)[K
remote: Compressing objects: 57% (46/80)[K
remote: Compressing objects: 58% (47/80)[K
remote: Compressing objects: 60% (48/80)[K
remote: Compressing objects: 61% (49/80)[K
remote: Compressing objects: 62% (50/80)[K
remote: Compressing objects: 63% (51/80)[K
remote: Compressing objects: 65% (52/80)[K
remote: Compressing objects: 66% (53/80)[K
remote: Compressing objects: 67% (54/80)[K
remote: Compressing objects: 68% (55/80)[K
remote: Compressing objects: 70% (56/80)[K
remote: Compressing objects: 71% (57/80)[K
remote: Compressing objects: 72% (58/80)[K
remote: Compressing objects: 73% (59/80)[K
remote: Compressing objects: 75% (60/80)[K
remote: Compressing objects: 76% (61/80)[K
remote: Compressing objects: 77% (62/80)[K
remote: Compressing objects: 78% (63/80)[K
remote: Compressing objects: 80% (64/80)[K
remote: Compressing objects: 81% (65/80)[K
remote: Compressing objects: 82% (66/80)[K
remote: Compressing objects: 83% (67/80)[K
remote: Compressing objects: 85% (68/80)[K
remote: Compressing objects: 86% (69/80)[K
remote: Compressing objects: 87% (70/80)[K
remote: Compressing objects: 88% (71/80)[K
remote: Compressing objects: 90% (72/80)[K
remote: Compressing objects: 91% (73/80)[K
remote: Compressing objects: 92% (74/80)[K
remote: Compressing objects: 93% (75/80)[K
remote: Compressing objects: 95% (76/80)[K
remote: Compressing objects: 96% (77/80)[K
remote: Compressing objects: 97% (78/80)[K
remote: Compressing objects: 98% (79/80)[K
remote: Compressing objects: 100% (80/80)[K
remote: Compressing objects: 100% (80/80), done.[K
Receiving objects: 0% (1/113)
Receiving objects: 1% (2/113)
Receiving objects: 2% (3/113)
Receiving objects: 3% (4/113)
Receiving objects: 4% (5/113)
Receiving objects: 5% (6/113)
Receiving objects: 6% (7/113)
Receiving objects: 7% (8/113)
Receiving objects: 8% (10/113)
Receiving objects: 9% (11/113)
Receiving objects: 10% (12/113)
Receiving objects: 11% (13/113)
Receiving objects: 12% (14/113)
Receiving objects: 13% (15/113)
Receiving objects: 14% (16/113)
Receiving objects: 15% (17/113)
Receiving objects: 16% (19/113)
Receiving objects: 17% (20/113)
Receiving objects: 18% (21/113)
Receiving objects: 19% (22/113)
Receiving objects: 20% (23/113)
Receiving objects: 21% (24/113)
Receiving objects: 22% (25/113)
Receiving objects: 23% (26/113)
Receiving objects: 24% (28/113)
Receiving objects: 25% (29/113)
Receiving objects: 26% (30/113)
Receiving objects: 27% (31/113)
Receiving objects: 28% (32/113)
Receiving objects: 29% (33/113)
Receiving objects: 30% (34/113)
Receiving objects: 31% (36/113)
Receiving objects: 32% (37/113)
Receiving objects: 33% (38/113)
Receiving objects: 34% (39/113)
Receiving objects: 35% (40/113)
Receiving objects: 36% (41/113)
Receiving objects: 37% (42/113)
Receiving objects: 38% (43/113)
Receiving objects: 39% (45/113)
Receiving objects: 40% (46/113)
Receiving objects: 41% (47/113)
Receiving objects: 42% (48/113)
Receiving objects: 43% (49/113)
Receiving objects: 44% (50/113)
remote: Total 113 (delta 60), reused 71 (delta 20), pack-reused 0
Receiving objects: 45% (51/113)
Receiving objects: 46% (52/113)
Receiving objects: 47% (54/113)
Receiving objects: 48% (55/113)
Receiving objects: 49% (56/113)
Receiving objects: 50% (57/113)
Receiving objects: 51% (58/113)
Receiving objects: 52% (59/113)
Receiving objects: 53% (60/113)
Receiving objects: 54% (62/113)
Receiving objects: 55% (63/113)
Receiving objects: 56% (64/113)
Receiving objects: 57% (65/113)
Receiving objects: 58% (66/113)
Receiving objects: 59% (67/113)
Receiving objects: 60% (68/113)
Receiving objects: 61% (69/113)
Receiving objects: 62% (71/113)
Receiving objects: 63% (72/113)
Receiving objects: 64% (73/113)
Receiving objects: 65% (74/113)
Receiving objects: 66% (75/113)
Receiving objects: 67% (76/113)
Receiving objects: 68% (77/113)
Receiving objects: 69% (78/113)
Receiving objects: 70% (80/113)
Receiving objects: 71% (81/113)
Receiving objects: 72% (82/113)
Receiving objects: 73% (83/113)
Receiving objects: 74% (84/113)
Receiving objects: 75% (85/113)
Receiving objects: 76% (86/113)
Receiving objects: 77% (88/113)
Receiving objects: 78% (89/113)
Receiving objects: 79% (90/113)
Receiving objects: 80% (91/113)
Receiving objects: 81% (92/113)
Receiving objects: 82% (93/113)
Receiving objects: 83% (94/113)
Receiving objects: 84% (95/113)
Receiving objects: 85% (97/113)
Receiving objects: 86% (98/113)
Receiving objects: 87% (99/113)
Receiving objects: 88% (100/113)
Receiving objects: 89% (101/113)
Receiving objects: 90% (102/113)
Receiving objects: 91% (103/113)
Receiving objects: 92% (104/113)
Receiving objects: 93% (106/113)
Receiving objects: 94% (107/113)
Receiving objects: 95% (108/113)
Receiving objects: 96% (109/113)
Receiving objects: 97% (110/113)
Receiving objects: 98% (111/113)
Receiving objects: 99% (112/113)
Receiving objects: 100% (113/113)
Receiving objects: 100% (113/113), 65.22 KiB | 2.51 MiB/s, done.
Resolving deltas: 0% (0/60)
Resolving deltas: 6% (4/60)
Resolving deltas: 8% (5/60)
Resolving deltas: 13% (8/60)
Resolving deltas: 21% (13/60)
Resolving deltas: 31% (19/60)
Resolving deltas: 35% (21/60)
Resolving deltas: 45% (27/60)
Resolving deltas: 46% (28/60)
Resolving deltas: 70% (42/60)
Resolving deltas: 93% (56/60)
Resolving deltas: 95% (57/60)
Resolving deltas: 100% (60/60)
Resolving deltas: 100% (60/60), done.
travis_time:end:03a83d44:start=1579387481756880927,finish=1579387482328004843,duration=571123916,event=checkout
[0K$ cd grewe/HelloWorld_CS401_Gradle
$ git checkout -qf ed6f5989ce9b535f4c4eda8cabafac4a9ff6f8fe
travis_fold:end:git.checkout
[0K
travis_time:end:03a83d44:start=1579387481756880927,finish=1579387482334965338,duration=578084411,event=checkout
[0Ktravis_time:start:0df63878
[0Ktravis_time:end:0df63878:start=1579387482338076465,finish=1579387482343228418,duration=5151953,event=env
[0K$ export TERM=dumb
$ java -Xmx32m -version
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
$ javac -J-Xmx32m -version
javac 11.0.2
travis_fold:start:install
[0Ktravis_time:start:151e27f5
[0K$ ./gradlew assemble
Downloading https://services.gradle.org/distributions/gradle-5.2.1-bin.zip
...................................................................................
Welcome to Gradle 5.2.1!
Here are the highlights of this release:
- Define sets of dependencies that work together with Java Platform plugin
- New C++ plugins with dependency management built-in
- New C++ project types for gradle init
- Service injection into plugins and project extensions
For more details see https://docs.gradle.org/5.2.1/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :compileJava
> Task :processResources NO-SOURCE
> Task :classes
> Task :jar
> Task :assemble
BUILD SUCCESSFUL in 9s
2 actionable tasks: 2 executed
travis_time:end:151e27f5:start=1579387482660701719,finish=1579387492818934108,duration=10158232389,event=install
[0Ktravis_fold:end:install
[0Ktravis_fold:start:before_script
[0Ktravis_time:start:1d147f4f
[0K$ chmod +x gradlew
travis_time:end:1d147f4f:start=1579387492822838733,finish=1579387492826153068,duration=3314335,event=before_script
[0Ktravis_fold:end:before_script
[0Ktravis_time:start:0e997891
[0K$ gradle build && gradle check && echo 'hello'
Welcome to Gradle 5.1.1!
Here are the highlights of this release:
- Control which dependencies can be retrieved from which repositories
- Production-ready configuration avoidance APIs
For more details see https://docs.gradle.org/5.1.1/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :compileJava
> Task :processResources NO-SOURCE
> Task :classes
> Task :jar
> Task :assemble
> Task :compileTestJava
> Task :processTestResources NO-SOURCE
> Task :testClasses
> Task :test
> Task :check
> Task :build
BUILD SUCCESSFUL in 11s
4 actionable tasks: 4 executed
> Task :compileJava UP-TO-DATE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE
> Task :compileTestJava UP-TO-DATE
> Task :processTestResources NO-SOURCE
> Task :testClasses UP-TO-DATE
> Task :test UP-TO-DATE
> Task :check UP-TO-DATE
BUILD SUCCESSFUL in 0s
3 actionable tasks: 3 up-to-date
hello
travis_time:end:0e997891:start=1579387492829491743,finish=1579387505806006249,duration=12976514506,event=script
[0K[32;1mThe command "gradle build && gradle check && echo 'hello'" exited with 0.[0m
Done. Your build exited with 0.