Kaynağa Gözat

Add echo's to print info for debugging travis-build

Logan Stucki 9 yıl önce
ebeveyn
işleme
d0654bff5f
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 3
    0
      bin/run-journey-test-from-ci.sh

+ 3
- 0
bin/run-journey-test-from-ci.sh Dosyayı Görüntüle

5
 
5
 
6
 pr_files_json=`curl -s https://api.github.com/repos/exercism/java/pulls/${TRAVIS_PULL_REQUEST}/files`
6
 pr_files_json=`curl -s https://api.github.com/repos/exercism/java/pulls/${TRAVIS_PULL_REQUEST}/files`
7
 
7
 
8
+echo "Pull request number: ${TRAVIS_PULL_REQUEST}"
9
+echo "Changes in pr json: ${pr_files_json}"
10
+
8
 # if jq fails to get the required data, then that means TRAVIS_PULL_REQUEST was not set (not run in travis-ci),
11
 # if jq fails to get the required data, then that means TRAVIS_PULL_REQUEST was not set (not run in travis-ci),
9
 # or was false (not a pull request). In that case, we should fall back with testing every exercise
12
 # or was false (not a pull request). In that case, we should fall back with testing every exercise
10
 
13