|  | 
| 46 | 46 |       - cd tests/unit/ | 
| 47 | 47 |       - phpunit --configuration phpunit.xml | 
| 48 | 48 |   - name: php7.3 | 
| 49 |  | -    image: nextcloudci/php7.3:php7.3-1 | 
|  | 49 | +    image: nextcloudci/php7.3:php7.3-5 | 
| 50 | 50 |     environment: | 
| 51 | 51 |       APP_NAME: user_saml | 
| 52 | 52 |       CORE_BRANCH: master | 
| @@ -81,137 +81,48 @@ trigger: | 
| 81 | 81 |   event: | 
| 82 | 82 |     - pull_request | 
| 83 | 83 |     - push | 
| 84 |  | - | 
| 85 |  | ---- | 
| 86 |  | -kind: pipeline | 
| 87 |  | -name: tests-17 | 
| 88 |  | - | 
| 89 |  | -clone: | 
| 90 |  | -  depth: 1 | 
| 91 |  | - | 
| 92 |  | -steps: | 
| 93 |  | -  - name: php7.2-stable17 | 
| 94 |  | -    image: nextcloudci/php7.2:php7.2-13 | 
| 95 |  | -    environment: | 
| 96 |  | -      APP_NAME: user_saml | 
| 97 |  | -      CORE_BRANCH: stable17 | 
| 98 |  | -      DB: sqlite | 
| 99 |  | -    commands: | 
| 100 |  | -      - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh | 
| 101 |  | -      - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB | 
| 102 |  | -      - cd ../server/apps/$APP_NAME | 
| 103 |  | -      - cd tests/unit/ | 
| 104 |  | -      - phpunit --configuration phpunit.xml | 
| 105 |  | -  - name: integration-tests-stable16 | 
| 106 |  | -    image: nextcloudci/user_saml_shibboleth-php7.2:user_saml_shibboleth_php7.2-2 | 
| 107 |  | -    environment: | 
| 108 |  | -      CORE_BRANCH: stable17 | 
| 109 |  | -    commands: | 
| 110 |  | -      - sed -i 's_/etc/init.d/jetty run \&_sleep 4 \&\& /etc/init.d/jetty run \&_' /start.sh | 
| 111 |  | -      - /start.sh & | 
| 112 |  | -      - sleep 7 | 
| 113 |  | -      - rm -rf /var/www/html | 
| 114 |  | -      - cd /var/www/ | 
| 115 |  | -      - git clone --depth 1 -b $CORE_BRANCH https://github.com/nextcloud/server html | 
| 116 |  | -      - cd /var/www/html && git submodule update --init | 
| 117 |  | -      # use local clone | 
| 118 |  | -      - cp -r /drone/src /var/www/html/apps/user_saml | 
| 119 |  | -      - scl enable rh-php72 "bash -c 'php /var/www/html/occ maintenance:install --database sqlite --admin-pass password; php /var/www/html/occ app:enable user_saml'" | 
| 120 |  | -      - chown -R apache:apache /var/www/html/ | 
| 121 |  | -      - scl enable rh-php72 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'" | 
| 122 |  | - | 
| 123 |  | -trigger: | 
| 124 |  | -  branch: | 
| 125 |  | -    - master | 
| 126 |  | -  event: | 
| 127 |  | -    - pull_request | 
| 128 |  | -    - push | 
| 129 |  | - | 
| 130 | 84 | --- | 
| 131 | 85 | kind: pipeline | 
| 132 |  | -name: tests-16 | 
|  | 86 | +name: tests-18 | 
| 133 | 87 | 
 | 
| 134 | 88 | clone: | 
| 135 |  | -  depth: 1 | 
|  | 89 | +    depth: 1 | 
| 136 | 90 | 
 | 
| 137 | 91 | steps: | 
| 138 |  | -  - name: php7.1-stable16 | 
| 139 |  | -    image: nextcloudci/php7.1:php7.1-16 | 
| 140 |  | -    environment: | 
| 141 |  | -      APP_NAME: user_saml | 
| 142 |  | -      CORE_BRANCH: stable16 | 
| 143 |  | -      DB: sqlite | 
| 144 |  | -    commands: | 
| 145 |  | -      - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh | 
| 146 |  | -      - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB | 
| 147 |  | -      - cd ../server/apps/$APP_NAME | 
| 148 |  | -      - cd tests/unit/ | 
| 149 |  | -      - phpunit --configuration phpunit.xml | 
| 150 |  | -  - name: integration-tests-stable16 | 
| 151 |  | -    image: nextcloudci/user_saml_shibboleth-php7.2:user_saml_shibboleth_php7.2-2 | 
| 152 |  | -    environment: | 
| 153 |  | -      CORE_BRANCH: stable16 | 
| 154 |  | -    commands: | 
| 155 |  | -      - sed -i 's_/etc/init.d/jetty run \&_sleep 4 \&\& /etc/init.d/jetty run \&_' /start.sh | 
| 156 |  | -      - /start.sh & | 
| 157 |  | -      - sleep 7 | 
| 158 |  | -      - rm -rf /var/www/html | 
| 159 |  | -      - cd /var/www/ | 
| 160 |  | -      - git clone --depth 1 -b $CORE_BRANCH https://github.com/nextcloud/server html | 
| 161 |  | -      - cd /var/www/html && git submodule update --init | 
| 162 |  | -      # use local clone | 
| 163 |  | -      - cp -r /drone/src /var/www/html/apps/user_saml | 
| 164 |  | -      - scl enable rh-php72 "bash -c 'php /var/www/html/occ maintenance:install --database sqlite --admin-pass password; php /var/www/html/occ app:enable user_saml'" | 
| 165 |  | -      - chown -R apache:apache /var/www/html/ | 
| 166 |  | -      - scl enable rh-php72 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'" | 
|  | 92 | +    - name: php7.3-stable18 | 
|  | 93 | +      image: nextcloudci/php7.3:php7.3-5 | 
|  | 94 | +      environment: | 
|  | 95 | +          APP_NAME: user_saml | 
|  | 96 | +          CORE_BRANCH: stable18 | 
|  | 97 | +          DB: sqlite | 
|  | 98 | +      commands: | 
|  | 99 | +          - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh | 
|  | 100 | +          - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB | 
|  | 101 | +          - cd ../server/apps/$APP_NAME | 
|  | 102 | +          - cd tests/unit/ | 
|  | 103 | +          - phpunit --configuration phpunit.xml | 
|  | 104 | +    - name: integration-tests-stable18 | 
|  | 105 | +      image: nextcloudci/user_saml_shibboleth-php7.2:user_saml_shibboleth_php7.2-2 | 
|  | 106 | +      environment: | 
|  | 107 | +          CORE_BRANCH: stable18 | 
|  | 108 | +      commands: | 
|  | 109 | +          - sed -i 's_/etc/init.d/jetty run \&_sleep 4 \&\& /etc/init.d/jetty run \&_' /start.sh | 
|  | 110 | +          - /start.sh & | 
|  | 111 | +          - sleep 7 | 
|  | 112 | +          - rm -rf /var/www/html | 
|  | 113 | +          - cd /var/www/ | 
|  | 114 | +          - git clone --depth 1 -b $CORE_BRANCH https://github.com/nextcloud/server html | 
|  | 115 | +          - cd /var/www/html && git submodule update --init | 
|  | 116 | +          # use local clone | 
|  | 117 | +          - cp -r /drone/src /var/www/html/apps/user_saml | 
|  | 118 | +          - scl enable rh-php72 "bash -c 'php /var/www/html/occ maintenance:install --database sqlite --admin-pass password; php /var/www/html/occ app:enable user_saml'" | 
|  | 119 | +          - chown -R apache:apache /var/www/html/ | 
|  | 120 | +          - scl enable rh-php72 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'" | 
| 167 | 121 | 
 | 
| 168 | 122 | trigger: | 
| 169 |  | -  branch: | 
| 170 |  | -    - master | 
| 171 |  | -  event: | 
| 172 |  | -    - pull_request | 
| 173 |  | -    - push | 
| 174 |  | - | 
| 175 |  | ---- | 
| 176 |  | -kind: pipeline | 
| 177 |  | -name: tests-15 | 
| 178 |  | - | 
| 179 |  | -clone: | 
| 180 |  | -  depth: 1 | 
| 181 |  | - | 
| 182 |  | -steps: | 
| 183 |  | -  - name: php7.0-stable15 | 
| 184 |  | -    image: nextcloudci/php7.0:php7.0-19 | 
| 185 |  | -    environment: | 
| 186 |  | -      APP_NAME: user_saml | 
| 187 |  | -      CORE_BRANCH: stable15 | 
| 188 |  | -      DB: sqlite | 
| 189 |  | -    commands: | 
| 190 |  | -      - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh | 
| 191 |  | -      - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB | 
| 192 |  | -      - cd ../server/apps/$APP_NAME | 
| 193 |  | -      - cd tests/unit/ | 
| 194 |  | -      - phpunit --configuration phpunit.xml | 
| 195 |  | -  - name: integration-tests-stable15 | 
| 196 |  | -    image: nextcloudci/user_saml_shibboleth-php7:user_saml_shibboleth_php7-5 | 
| 197 |  | -    environment: | 
| 198 |  | -      CORE_BRANCH: stable15 | 
| 199 |  | -    commands: | 
| 200 |  | -      - /start.sh & | 
| 201 |  | -      - sleep 3 | 
| 202 |  | -      - rm -rf /var/www/html | 
| 203 |  | -      - cd /var/www/ | 
| 204 |  | -      - git clone --depth 1 -b $CORE_BRANCH https://github.com/nextcloud/server html | 
| 205 |  | -      - cd /var/www/html && git submodule update --init | 
| 206 |  | -      # use local clone | 
| 207 |  | -      - cp -r /drone/src /var/www/html/apps/user_saml | 
| 208 |  | -      - scl enable rh-php70 "bash -c 'php /var/www/html/occ maintenance:install --database sqlite --admin-pass password; php /var/www/html/occ app:enable user_saml'" | 
| 209 |  | -      - chown -R apache:apache /var/www/html/ | 
| 210 |  | -      - scl enable rh-php70 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'" | 
|  | 123 | +    branch: | 
|  | 124 | +        - master | 
|  | 125 | +    event: | 
|  | 126 | +        - pull_request | 
|  | 127 | +        - push | 
| 211 | 128 | 
 | 
| 212 |  | -trigger: | 
| 213 |  | -  branch: | 
| 214 |  | -    - master | 
| 215 |  | -  event: | 
| 216 |  | -    - pull_request | 
| 217 |  | -    - push | 
0 commit comments