Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. notes on travis setup
  2.  
  3. brian heim
  4.  
  5. 2017-08-18
  6.  
  7. FILES
  8. =====
  9.  
  10. ```
  11. .travis.yml
  12. .travis/before-install-osx.sh
  13. .travis/before-install-linux.sh
  14. .travis/before-script-osx.sh
  15. .travis/before-script-linux.sh
  16. .travis/qpm-prep.sh
  17. .travis/script-osx.sh
  18. .travis/script-linux.sh
  19. .travis/test.sh
  20. .travis/package-osx.sh
  21. .travis/fix-non-Qt.sh
  22. testsuite/sclang/launch_test.py
  23. .travis/qpm-prep.sh
  24. .travis/qpm-test.sh
  25. ```
  26.  
  27. overview
  28. --------
  29.  
  30. 1. `before_install`: get correct versions of addons
  31. 2. `before_script`: perform cmake config
  32. 3. `script`: build the thing, test the thing. on osx, package the thing
  33. 4. `before_deploy`: load artefacts into correct spots
  34. 5. `deploy`: send zip to AWS
  35. 6. `after_deploy`: print messages
  36. 7. `notifications`: send email notifications, gitter notifications
  37.  
  38. TODOs
  39. -----
  40.  
  41. .travis.yml
  42. -----------
  43.  
  44. - should use newer versions of xcode
  45. - try language: cpp
  46. - try compiler: gcc, clang
  47.  
  48. - are `QT_PREFIX` & `QT_PLUGIN_PATH` necessary?
  49. - allow testing even when not building qt
  50. - use a separate env variable for TEST, not QT
  51.  
  52. - check "echo S3 Build Location:" - does it happen?
  53.  
  54. - check how notifications works
  55. - add slack integration
  56.  
  57. .travis/before-install-osx.sh
  58. ------------------------------
  59.  
  60. - consider using upgrade instead of update
  61. - remove installation of python
  62.  
  63. .travis/before-install-linux.sh
  64. -------------------------------
  65.  
  66. - add new versions of gcc
  67. - gcc version can be specified in build matrix
  68.  
  69. .travis/before-script-osx.sh
  70. ----------------------------
  71.  
  72. - add supernova=ON
  73.  
  74. .travis/before-script-linux.sh
  75. ------------------------------
  76.  
  77. - consider using Debug if not a release build? (what do other projects do?)
  78.  
  79. .travis/qpm-prep.sh
  80. -------------------
  81.  
  82. - consider removing when switching tests
  83.  
  84. .travis/script-osx.sh
  85. ---------------------
  86.  
  87. - just does build phase
  88.  
  89. .travis/script-linux.sh
  90. -----------------------
  91.  
  92. - just does build phase
  93.  
  94. .travis/test.sh
  95. ---------------
  96.  
  97. - exports sclang stuff
  98. - runs fix-non-Qt.sh script when qt is false
  99. - calls launch\_test.py
  100. - if qt true, calls qpm-test.sh
  101. - TODO: fix non-Qt builds
  102. - TODO: run supernova tests
  103.  
  104. .travis/package-osx.sh
  105. ----------------------
  106.  
  107. - just creates an artifacts dir, places zip build in there
  108.  
  109. .travis/package-osx.sh
  110. ----------------------
  111.  
  112. - just creates an artifacts dir, places zip build in there
  113.  
  114. .travis/fix-non-Qt.sh
  115. ---------------------
  116.  
  117. - moves two files. TODO: can we fix this upstream?
  118.  
  119. testsuite/sclang/launch\_test.py
  120. -------------------------------
  121.  
  122. - tries to launch sclang and checks if there are errors
  123.  
  124. .travis/qpm-prep.sh
  125. -------------------
  126.  
  127. - checks out qpm & CommonTests & CommonTestsGUI
  128.  
  129. .travis/qpm-test.sh
  130. -------------------
  131.  
  132. - calls qpm
  133.  
  134. EXPERIMENTS
  135. ===========
  136.  
  137. ## travis/lang-cpp
  138.  
  139. - set language: cpp
  140. - *result*: success, but not faster/slower
  141.  
  142. ## travis/lang-cpp-compilers
  143.  
  144. - set language: cpp
  145. - add compiler: clang
  146. - *result*: failure on clang builds, because QT not set
  147.  
  148. ## travis/no-qt-env-vars
  149.  
  150. - remove `QT_PREFIX` and `QT_PLUGIN_PATH` env vars
  151. - result: success
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement