CS401 | sw engineering
  • outline
  • projects
  • syllabus
  • links

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
jdk: oraclejdk11

 

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

before_script: - chmod +x gradlew
script: gradle build && gradle check
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
jdk: oraclejdk11

before_script:
- chmod +x gradlew

before_install:
- sudo apt-get install mpack


script:
gradle build && gradle check && echo 'hello'

after_failure:
cat /home/travis/build/grewe/HelloWorld_CS401_Gradle/build/reports/tests/test/index.html &&
mpack -s "Travis Ci Testing Report Failure HelloWorld_CS401"
-d /home/travis/build/grewe/HelloWorld_CS401_Gradle/build/reports/tests/test/index.html lynne.grewe@csueatbay.edu

 

 

 

 

 

 

 

 

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
Worker information
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
travis_time:start:00ca16a0
travis_time:end:00ca16a0:start=1579387461036305268,finish=1579387461187103540,duration=150798272,event=no_world_writable_dirs
travis_time:start:0073bdb0
travis_time:end:0073bdb0:start=1579387461190488456,finish=1579387461199152562,duration=8664106,event=agent
travis_time:start:26881560
travis_time:end:26881560:start=1579387461202368268,finish=1579387461204565706,duration=2197438,event=check_unsupported
travis_time:start:2ff46550
travis_fold:start:system_info
Build system information
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
Build image provisioning date and time
Thu Dec 12 09:02:35 UTC 2019
Operating System Details
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
Systemd Version
systemd 229
Cookbooks Version
e049581 https://github.com/travis-ci/travis-cookbooks/tree/e049581
git version
git version 2.24.1
bash version
GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
gcc version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
docker version
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
clang version
clang version 7.0.0 (tags/RELEASE_700/final)
jq version
jq-1.5
bats version
Bats 0.4.0
shellcheck version
0.6.0
shfmt version
v2.6.3
ccache version
3.2.4
cmake version
cmake version 3.12.4
heroku version
heroku/7.35.0 linux-x64 node-v12.13.0
imagemagick version
Version: ImageMagick 6.8.9-9 Q16 x86_64 2019-11-12 http://www.imagemagick.org
md5deep version
4.4
mercurial version
version 4.8
mysql version
mysql Ver 14.14 Distrib 5.7.28, for Linux (x86_64) using EditLine wrapper
openssl version
OpenSSL 1.0.2g 1 Mar 2016
packer version
1.3.3
postgresql client version
psql (PostgreSQL) 10.11 (Ubuntu 10.11-1.pgdg16.04+1)
ragel version
Ragel State Machine Compiler version 6.8 Feb 2013
sudo version
1.8.16
gzip version
gzip 1.6
zip version
Zip 3.0
vim version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jun 07 2019 15:35:43)
iptables version
iptables v1.6.0
curl version
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
wget version
GNU Wget 1.17.1 built on linux-gnu.
rsync version
rsync version 3.1.1 protocol version 31
gimme version
v1.5.3
nvm version
0.35.1
perlbrew version
/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.87
phpenv version
rbenv 1.1.2-11-gc46a970
rvm version
rvm 1.29.9 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
default ruby version
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
CouchDB version
couchdb 1.6.1
ElasticSearch version
5.5.0
Installed Firefox version
firefox 63.0.1
MongoDB version
MongoDB 4.0.13
PhantomJS version
2.1.1
Pre-installed PostgreSQL versions
9.4.25
9.5.20
9.6.16
Redis version
redis-server 5.0.7
Pre-installed Go versions
1.11.1
ant version
Apache Ant(TM) version 1.9.6 compiled on July 20 2018
mvn version
Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; 2019-08-27T15:06:16Z)
gradle version
Gradle 5.1.1!
lein version
Leiningen 2.9.1 on Java 11.0.2 OpenJDK 64-Bit Server VM
Pre-installed Node.js versions
v10.17.0
v11.15.0
v12.13.1
v4.9.1
v6.17.1
v8.12.0
v8.16.2
v8.9
phpenv versions
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
composer --version
Composer version 1.9.1 2019-11-01 17:20:17
Pre-installed Ruby versions
ruby-2.4.9
ruby-2.5.3
ruby-2.5.7
ruby-2.6.5
travis_fold:end:system_info

travis_time:end:2ff46550:start=1579387461208089688,finish=1579387461215058429,duration=6968741,event=show_system_info
travis_time:start:255f6a00
travis_time:end:255f6a00:start=1579387461217970059,finish=1579387461231174765,duration=13204706,event=rm_riak_source
travis_time:start:26937ae3
travis_time:end:26937ae3:start=1579387461234545747,finish=1579387461239806945,duration=5261198,event=fix_rwky_redis
travis_time:start:101833e5
travis_time:end:101833e5:start=1579387461242881277,finish=1579387461634045366,duration=391164089,event=wait_for_network
travis_time:start:03053dba
travis_time:end:03053dba:start=1579387461637276419,finish=1579387461856697733,duration=219421314,event=update_apt_keys
travis_time:start:1256379c
travis_time:end:1256379c:start=1579387461859766894,finish=1579387461911844264,duration=52077370,event=fix_hhvm_source
travis_time:start:1be90f40
travis_time:end:1be90f40:start=1579387461914967623,finish=1579387461917598384,duration=2630761,event=update_mongo_arch
travis_time:start:26a5433c
travis_time:end:26a5433c:start=1579387461920567401,finish=1579387461960216941,duration=39649540,event=fix_sudo_enabled_trusty
travis_time:start:000287b8
travis_time:end:000287b8:start=1579387461963400182,finish=1579387461965733824,duration=2333642,event=update_glibc
travis_time:start:1a9f9e90
travis_time:end:1a9f9e90:start=1579387461968675599,finish=1579387461976531296,duration=7855697,event=clean_up_path
travis_time:start:0225f2c6
travis_time:end:0225f2c6:start=1579387461979383594,finish=1579387461987460879,duration=8077285,event=fix_resolv_conf
travis_time:start:17a83c0a
travis_time:end:17a83c0a:start=1579387461990351573,finish=1579387461999144504,duration=8792931,event=fix_etc_hosts
travis_time:start:024e59f5
travis_time:end:024e59f5:start=1579387462002116625,finish=1579387462010525475,duration=8408850,event=fix_mvn_settings_xml
travis_time:start:062c5410
travis_time:end:062c5410:start=1579387462013510906,finish=1579387462022880177,duration=9369271,event=no_ipv6_localhost
travis_time:start:297fd8c0
travis_time:end:297fd8c0:start=1579387462025857387,finish=1579387462027967370,duration=2109983,event=fix_etc_mavenrc
travis_time:start:04e2228e
travis_time:end:04e2228e:start=1579387462030838167,finish=1579387462033706230,duration=2868063,event=fix_wwdr_certificate
travis_time:start:0112ee16
travis_time:end:0112ee16:start=1579387462036572401,finish=1579387462060579625,duration=24007224,event=put_localhost_first
travis_time:start:06cb3898
travis_time:end:06cb3898:start=1579387462063428949,finish=1579387462066566892,duration=3137943,event=home_paths
travis_time:start:05ba28a8
travis_time:end:05ba28a8:start=1579387462069519894,finish=1579387462082248551,duration=12728657,event=disable_initramfs
travis_time:start:1f11b506
travis_time:end:1f11b506:start=1579387462085140731,finish=1579387462427297635,duration=342156904,event=disable_ssh_roaming
travis_time:start:02be3c6f
travis_time:end:02be3c6f:start=1579387462430394130,finish=1579387462432655320,duration=2261190,event=debug_tools
travis_time:start:1700d79c
travis_time:end:1700d79c:start=1579387462435488876,finish=1579387462438473809,duration=2984933,event=uninstall_oclint
travis_time:start:37f033e0
travis_time:end:37f033e0:start=1579387462441270444,finish=1579387462444044182,duration=2773738,event=rvm_use
travis_time:start:0202f10a
travis_time:end:0202f10a:start=1579387462446841603,finish=1579387462454587685,duration=7746082,event=rm_etc_boto_cfg
travis_time:start:0a51becf
travis_time:end:0a51becf:start=1579387462457542377,finish=1579387462460490302,duration=2947925,event=rm_oraclejdk8_symlink
travis_time:start:0757cb8d
travis_time:end:0757cb8d:start=1579387462463340934,finish=1579387462565276816,duration=101935882,event=enable_i386
travis_time:start:198b384e
travis_time:end:198b384e:start=1579387462568653001,finish=1579387462574815144,duration=6162143,event=update_rubygems
travis_time:start:191e7c7e
travis_time:end:191e7c7e:start=1579387462577938313,finish=1579387463171661305,duration=593722992,event=ensure_path_components
travis_time:start:03504af2
travis_time:end:03504af2:start=1579387463175184379,finish=1579387463177636462,duration=2452083,event=redefine_curl
travis_time:start:0072d554
travis_time:end:0072d554:start=1579387463180777444,finish=1579387463182935520,duration=2158076,event=nonblock_pipe
travis_time:start:012f7f84
travis_time:end:012f7f84:start=1579387463186132011,finish=1579387469221049925,duration=6034917914,event=apt_get_update
travis_time:start:036585b1
travis_time:end:036585b1:start=1579387469224519696,finish=1579387469227038680,duration=2518984,event=deprecate_xcode_64
travis_time:start:073f4670
travis_time:end:073f4670:start=1579387469229906995,finish=1579387471653887335,duration=2423980340,event=update_heroku
travis_time:start:1eff1253
travis_time:end:1eff1253:start=1579387471657047450,finish=1579387471659612662,duration=2565212,event=shell_session_update
travis_time:start:15464652
travis_fold:start:docker_mtu
travis_fold:end:docker_mtu
travis_time:end:15464652:start=1579387471662434185,finish=1579387473811840959,duration=2149406774,event=set_docker_mtu
travis_time:start:067ede21
travis_fold:start:resolvconf
travis_fold:end:resolvconf
travis_time:end:067ede21:start=1579387473815438594,finish=1579387473882317869,duration=66879275,event=resolvconf
travis_time:start:16ad7dd4
travis_time:end:16ad7dd4:start=1579387473888104368,finish=1579387474040025786,duration=151921418,event=maven_central_mirror

travis_fold:start:install_jdk
Installing oraclejdk11
$ 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
travis_time:start:1cee8ab8
travis_time:end:1cee8ab8:start=1579387481748815281,finish=1579387481751026981,duration=2211700,event=fix_ps4
travis_time:start:02b34053

travis_fold:start:git.checkout
travis_time:start:03a83d44
$ 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.
remote: Counting objects: 0% (1/113)
remote: Counting objects: 1% (2/113)
remote: Counting objects: 2% (3/113)
remote: Counting objects: 3% (4/113)
remote: Counting objects: 4% (5/113)
remote: Counting objects: 5% (6/113)
remote: Counting objects: 6% (7/113)
remote: Counting objects: 7% (8/113)
remote: Counting objects: 8% (10/113)
remote: Counting objects: 9% (11/113)
remote: Counting objects: 10% (12/113)
remote: Counting objects: 11% (13/113)
remote: Counting objects: 12% (14/113)
remote: Counting objects: 13% (15/113)
remote: Counting objects: 14% (16/113)
remote: Counting objects: 15% (17/113)
remote: Counting objects: 16% (19/113)
remote: Counting objects: 17% (20/113)
remote: Counting objects: 18% (21/113)
remote: Counting objects: 19% (22/113)
remote: Counting objects: 20% (23/113)
remote: Counting objects: 21% (24/113)
remote: Counting objects: 22% (25/113)
remote: Counting objects: 23% (26/113)
remote: Counting objects: 24% (28/113)
remote: Counting objects: 25% (29/113)
remote: Counting objects: 26% (30/113)
remote: Counting objects: 27% (31/113)
remote: Counting objects: 28% (32/113)
remote: Counting objects: 29% (33/113)
remote: Counting objects: 30% (34/113)
remote: Counting objects: 31% (36/113)
remote: Counting objects: 32% (37/113)
remote: Counting objects: 33% (38/113)
remote: Counting objects: 34% (39/113)
remote: Counting objects: 35% (40/113)
remote: Counting objects: 36% (41/113)
remote: Counting objects: 37% (42/113)
remote: Counting objects: 38% (43/113)
remote: Counting objects: 39% (45/113)
remote: Counting objects: 40% (46/113)
remote: Counting objects: 41% (47/113)
remote: Counting objects: 42% (48/113)
remote: Counting objects: 43% (49/113)
remote: Counting objects: 44% (50/113)
remote: Counting objects: 45% (51/113)
remote: Counting objects: 46% (52/113)
remote: Counting objects: 47% (54/113)
remote: Counting objects: 48% (55/113)
remote: Counting objects: 49% (56/113)
remote: Counting objects: 50% (57/113)
remote: Counting objects: 51% (58/113)
remote: Counting objects: 52% (59/113)
remote: Counting objects: 53% (60/113)
remote: Counting objects: 54% (62/113)
remote: Counting objects: 55% (63/113)
remote: Counting objects: 56% (64/113)
remote: Counting objects: 57% (65/113)
remote: Counting objects: 58% (66/113)
remote: Counting objects: 59% (67/113)
remote: Counting objects: 60% (68/113)
remote: Counting objects: 61% (69/113)
remote: Counting objects: 62% (71/113)
remote: Counting objects: 63% (72/113)
remote: Counting objects: 64% (73/113)
remote: Counting objects: 65% (74/113)
remote: Counting objects: 66% (75/113)
remote: Counting objects: 67% (76/113)
remote: Counting objects: 68% (77/113)
remote: Counting objects: 69% (78/113)
remote: Counting objects: 70% (80/113)
remote: Counting objects: 71% (81/113)
remote: Counting objects: 72% (82/113)
remote: Counting objects: 73% (83/113)
remote: Counting objects: 74% (84/113)
remote: Counting objects: 75% (85/113)
remote: Counting objects: 76% (86/113)
remote: Counting objects: 77% (88/113)
remote: Counting objects: 78% (89/113)
remote: Counting objects: 79% (90/113)
remote: Counting objects: 80% (91/113)
remote: Counting objects: 81% (92/113)
remote: Counting objects: 82% (93/113)
remote: Counting objects: 83% (94/113)
remote: Counting objects: 84% (95/113)
remote: Counting objects: 85% (97/113)
remote: Counting objects: 86% (98/113)
remote: Counting objects: 87% (99/113)
remote: Counting objects: 88% (100/113)
remote: Counting objects: 89% (101/113)
remote: Counting objects: 90% (102/113)
remote: Counting objects: 91% (103/113)
remote: Counting objects: 92% (104/113)
remote: Counting objects: 93% (106/113)
remote: Counting objects: 94% (107/113)
remote: Counting objects: 95% (108/113)
remote: Counting objects: 96% (109/113)
remote: Counting objects: 97% (110/113)
remote: Counting objects: 98% (111/113)
remote: Counting objects: 99% (112/113)
remote: Counting objects: 100% (113/113)
remote: Counting objects: 100% (113/113), done.
remote: Compressing objects: 1% (1/80)
remote: Compressing objects: 2% (2/80)
remote: Compressing objects: 3% (3/80)
remote: Compressing objects: 5% (4/80)
remote: Compressing objects: 6% (5/80)
remote: Compressing objects: 7% (6/80)
remote: Compressing objects: 8% (7/80)
remote: Compressing objects: 10% (8/80)
remote: Compressing objects: 11% (9/80)
remote: Compressing objects: 12% (10/80)
remote: Compressing objects: 13% (11/80)
remote: Compressing objects: 15% (12/80)
remote: Compressing objects: 16% (13/80)
remote: Compressing objects: 17% (14/80)
remote: Compressing objects: 18% (15/80)
remote: Compressing objects: 20% (16/80)
remote: Compressing objects: 21% (17/80)
remote: Compressing objects: 22% (18/80)
remote: Compressing objects: 23% (19/80)
remote: Compressing objects: 25% (20/80)
remote: Compressing objects: 26% (21/80)
remote: Compressing objects: 27% (22/80)
remote: Compressing objects: 28% (23/80)
remote: Compressing objects: 30% (24/80)
remote: Compressing objects: 31% (25/80)
remote: Compressing objects: 32% (26/80)
remote: Compressing objects: 33% (27/80)
remote: Compressing objects: 35% (28/80)
remote: Compressing objects: 36% (29/80)
remote: Compressing objects: 37% (30/80)
remote: Compressing objects: 38% (31/80)
remote: Compressing objects: 40% (32/80)
remote: Compressing objects: 41% (33/80)
remote: Compressing objects: 42% (34/80)
remote: Compressing objects: 43% (35/80)
remote: Compressing objects: 45% (36/80)
remote: Compressing objects: 46% (37/80)
remote: Compressing objects: 47% (38/80)
remote: Compressing objects: 48% (39/80)
remote: Compressing objects: 50% (40/80)
remote: Compressing objects: 51% (41/80)
remote: Compressing objects: 52% (42/80)
remote: Compressing objects: 53% (43/80)
remote: Compressing objects: 55% (44/80)
remote: Compressing objects: 56% (45/80)
remote: Compressing objects: 57% (46/80)
remote: Compressing objects: 58% (47/80)
remote: Compressing objects: 60% (48/80)
remote: Compressing objects: 61% (49/80)
remote: Compressing objects: 62% (50/80)
remote: Compressing objects: 63% (51/80)
remote: Compressing objects: 65% (52/80)
remote: Compressing objects: 66% (53/80)
remote: Compressing objects: 67% (54/80)
remote: Compressing objects: 68% (55/80)
remote: Compressing objects: 70% (56/80)
remote: Compressing objects: 71% (57/80)
remote: Compressing objects: 72% (58/80)
remote: Compressing objects: 73% (59/80)
remote: Compressing objects: 75% (60/80)
remote: Compressing objects: 76% (61/80)
remote: Compressing objects: 77% (62/80)
remote: Compressing objects: 78% (63/80)
remote: Compressing objects: 80% (64/80)
remote: Compressing objects: 81% (65/80)
remote: Compressing objects: 82% (66/80)
remote: Compressing objects: 83% (67/80)
remote: Compressing objects: 85% (68/80)
remote: Compressing objects: 86% (69/80)
remote: Compressing objects: 87% (70/80)
remote: Compressing objects: 88% (71/80)
remote: Compressing objects: 90% (72/80)
remote: Compressing objects: 91% (73/80)
remote: Compressing objects: 92% (74/80)
remote: Compressing objects: 93% (75/80)
remote: Compressing objects: 95% (76/80)
remote: Compressing objects: 96% (77/80)
remote: Compressing objects: 97% (78/80)
remote: Compressing objects: 98% (79/80)
remote: Compressing objects: 100% (80/80)
remote: Compressing objects: 100% (80/80), done.
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
$ cd grewe/HelloWorld_CS401_Gradle
$ git checkout -qf ed6f5989ce9b535f4c4eda8cabafac4a9ff6f8fe
travis_fold:end:git.checkout

travis_time:end:03a83d44:start=1579387481756880927,finish=1579387482334965338,duration=578084411,event=checkout
travis_time:start:0df63878
travis_time:end:0df63878:start=1579387482338076465,finish=1579387482343228418,duration=5151953,event=env
$ 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
travis_time:start:151e27f5
$ ./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
travis_fold:end:install
travis_fold:start:before_script
travis_time:start:1d147f4f
$ chmod +x gradlew
travis_time:end:1d147f4f:start=1579387492822838733,finish=1579387492826153068,duration=3314335,event=before_script
travis_fold:end:before_script
travis_time:start:0e997891
$ 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
The command "gradle build && gradle check && echo 'hello'" exited with 0.

Done. Your build exited with 0.

 

 

 

cs401:sw engieering

  • home
  • outline
  • projects
  • syllabus
  • links