some guidance on how solve this travis failure issue


(CLIFF GITA) #1

Hello community, i have run mvn clean install in my command line and got BUILD SUCCESS but got travis ci failure as in here https://travis-ci.org/openmrs/openmrs-core/jobs/494608983

@dkayiwa @ssmusoke


(Stephen Senkomago Musoke) #2

Share the link to your .travis.yml file


(CLIFF GITA) #3

do you mean this one https://travis-ci.org/openmrs/openmrs-core/jobs/494608983


(Stephen Senkomago Musoke) #4

Nope in your code repo - how do you trigger the build?


(CLIFF GITA) #5

https://www.bing.com/search?form=MO0035&q=open+yml+file


(CLIFF GITA) #6

is it the one you want ?


(Juliet Wamalwa) #7

Was the build successful locally?


(CLIFF GITA) #8

yes it was


(CLIFF GITA) #9

language: java jdk:

  • openjdk6
  • oraclejdk7 script: mvn clean install --batch-mode matrix: allow_failures:
    • jdk: oraclejdk7 branches: only:
    • 1.11.x notifications: email: false irc: channels:
      • irc.freenode.org#OpenMRS” template:
      • “[%{repository}] [%{commit}] [%{author}] %{message} - %{build_url}” before_install:
  • cat /etc/hosts # optionally check the content before
  • sudo hostname “$(hostname | cut -c1-63)”
  • sed -e “s/^\(127\.0\.0\.1.*\)/\1 $(hostname | cut -c1-63)/” /etc/hosts | sudo tee /etc/hosts
  • cat /etc/hosts # optionally check the content *after

(Juliet Wamalwa) #10

So the error is after the pull request? Have you tried this https://docs.travis-ci.com/user/tutorial/


(CLIFF GITA) #11

yaa been reading through it but haven’t gotten an answer yet