Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

.travis.yml 5.3 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
  1. # This will run on Travis' 'new' container-based infrastructure
  2. # Blacklist
  3. branches:
  4. only:
  5. - master
  6. # Environment variables + OS + other parameters
  7. global:
  8. - GH_REPO_NAME: openpose
  9. - DOXYFILE: $TRAVIS_BUILD_DIR/doc/doc_autogeneration.doxygen
  10. # Set this in Environment Variables on travis-ci.org
  11. # - GH_REPO_REF: github.com/<user_name>/openpose.git
  12. matrix:
  13. # Use a build matrix to test many builds in parallel
  14. # envvar defaults:
  15. # WITH_CMAKE: true
  16. # WITH_PYTHON: false
  17. # WITH_CUDA: true
  18. # WITH_CUDNN: true
  19. # WITH_OPEN_CL: false
  20. # WITH_MKL: false
  21. include:
  22. # Ubuntu 16.04
  23. # Ubuntu 16.04 - Default - CMake - CUDA
  24. - os: linux
  25. dist: xenial
  26. env: NAME="U16-default-cmake-cuda8"
  27. sudo: required
  28. # Ubuntu 16.04 - Python - CMake - CUDA
  29. - os: linux
  30. dist: xenial
  31. env: NAME="U16-python-cmake-cuda8" WITH_PYTHON=true
  32. sudo: required
  33. # Generate and deploy documentation
  34. after_success:
  35. - cd $TRAVIS_BUILD_DIR
  36. - chmod +x scripts/generate_gh_pages.sh
  37. - ./scripts/generate_gh_pages.sh
  38. # Ubuntu 16.04 - Python - CMake - CPU
  39. - os: linux
  40. dist: xenial
  41. env: NAME="U16-python-cmake-cpu" WITH_PYTHON=true WITH_CUDA=false
  42. sudo: required
  43. # Ubuntu 16.04 - Python - CMake - OpenCL
  44. - os: linux
  45. dist: xenial
  46. env: NAME="U16-python-cmake-opencl" WITH_PYTHON=true WITH_CUDA=false WITH_OPEN_CL=true
  47. sudo: required
  48. # Ubuntu 16.04 - Python - CMake - CPU - Debug
  49. - os: linux
  50. dist: xenial
  51. env: NAME="U16-python-cmake-cpu-debug" WITH_PYTHON=true WITH_CUDA=false WITH_DEBUG=true
  52. sudo: required
  53. # Ubuntu 16.04 - Python - CMake - CPU - Unity
  54. - os: linux
  55. dist: xenial
  56. env: NAME="U16-python-cmake-cpu-unity" WITH_PYTHON=true WITH_UNITY=true WITH_CUDA=false
  57. sudo: required
  58. # Mac OSX
  59. # Mac OSX - Python - CMake - CPU
  60. - os: osx
  61. osx_image: xcode9.4 # xcode10.1 does not work with Python # Versions: https://docs.travis-ci.com/user/languages/objective-c#supported-xcode-versions
  62. env: NAME="OSX-python-cmake-cpu" WITH_CUDA=false WITH_PYTHON=true
  63. sudo: required
  64. # Mac OSX - Python - CMake - OpenCL
  65. - os: osx
  66. osx_image: xcode10.1 # Versions: https://docs.travis-ci.com/user/languages/objective-c#supported-xcode-versions
  67. env: NAME="OSX-default-cmake-opencl" WITH_CUDA=false WITH_OPEN_CL=true
  68. sudo: required
  69. # Mac OSX - Python - CMake - CPU - Debug
  70. - os: osx
  71. osx_image: xcode9.4 # xcode10.1 does not work with Python # Versions: https://docs.travis-ci.com/user/languages/objective-c#supported-xcode-versions
  72. env: NAME="OSX-python-cmake-cpu-debug" WITH_CUDA=false WITH_PYTHON=true WITH_DEBUG=true
  73. sudo: required
  74. # Mac OSX - Python - CMake - CPU - Unity
  75. - os: osx
  76. osx_image: xcode9.4 # xcode10.1 does not work with Python # Versions: https://docs.travis-ci.com/user/languages/objective-c#supported-xcode-versions
  77. env: NAME="OSX-python-cmake-cpu-unity" WITH_CUDA=false WITH_PYTHON=true WITH_UNITY=true
  78. sudo: required
  79. # Mac OSX - Default - CMake - CPU
  80. - os: osx
  81. osx_image: xcode10.1 # Versions: https://docs.travis-ci.com/user/languages/objective-c#supported-xcode-versions
  82. env: NAME="OSX-default-cmake-cpu" WITH_CUDA=false
  83. sudo: required
  84. # # TO-DO: To be implemented
  85. # # Windows
  86. # # Windows - Default - CMake - CUDA
  87. # - os: windows
  88. # env: NAME="W10-default-cmake-cuda8"
  89. # Ubuntu (others)
  90. # Ubuntu 16.04 - Default - CMake - CPU
  91. - os: linux
  92. dist: xenial
  93. env: NAME="U16-default-cmake-cpu" WITH_CUDA=false
  94. sudo: required
  95. # Ubuntu 16.04 - Default - Make - CUDA
  96. - os: linux
  97. dist: xenial
  98. env: NAME="U16-default-make-cuda8" WITH_CMAKE=false
  99. sudo: required
  100. # # TO-DO: To be implemented
  101. # # Ubuntu 16.04 - Default - CMake - CPU MKL
  102. # - os: linux
  103. # dist: xenial
  104. # env: NAME="U16-default-cmake-cpu-mkl" WITH_CUDA=false WITH_MKL=true
  105. # sudo: required
  106. # # Ubuntu 16.04 - Python - CMake - OpenCL
  107. # - os: linux
  108. # dist: xenial
  109. # env: NAME="U16-python-cmake-opencl" WITH_PYTHON=true WITH_CUDA=false WITH_OPEN_CL=true
  110. # sudo: required
  111. # # Unnecessary/redundant ones
  112. # # Ubuntu 16.04 - Default - CMake - CUDA - no cuDNN
  113. # - os: linux
  114. # dist: xenial
  115. # env: NAME="U16-default-cmake-cuda8-nocudnn" WITH_CUDNN=false
  116. # sudo: required
  117. # Ubuntu 14.04 - Default - CMake - CPU
  118. - os: linux
  119. dist: trusty
  120. env: NAME="U14-default-cmake-cpu" WITH_CUDA=false
  121. sudo: required
  122. # Ubuntu 14.04 - Default - Make - CUDA
  123. - os: linux
  124. dist: trusty
  125. env: NAME="U14-default-make-cuda8" WITH_CMAKE=false
  126. sudo: required
  127. # # Unnecessary/redundant ones
  128. # # Ubuntu 14.04 - Default - CMake - CUDA
  129. # - os: linux
  130. # dist: trusty
  131. # env: NAME="U14-default-cmake-cuda8"
  132. # sudo: required
  133. # Install apt dependencies
  134. addons:
  135. apt:
  136. packages:
  137. - doxygen
  138. - doxygen-doc
  139. - doxygen-latex
  140. - doxygen-gui
  141. - graphviz
  142. # Install Caffe and OP dependencies
  143. install:
  144. - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo bash scripts/travis/install_deps_ubuntu.sh ; fi
  145. - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash scripts/travis/install_deps_osx.sh ; fi
  146. - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then exit 99 ; fi
  147. # Running CMake
  148. before_script:
  149. - bash scripts/travis/configure.sh
  150. # Build your code e.g., by calling make
  151. script:
  152. - bash scripts/travis/run_make.sh
  153. - bash scripts/travis/run_tests.sh
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...