| OLD | NEW |
| 1 # This file is part of Adblock Plus <https://adblockplus.org/>, | 1 # This file is part of Adblock Plus <https://adblockplus.org/>, |
| 2 # Copyright (C) 2006-present eyeo GmbH | 2 # Copyright (C) 2006-present eyeo GmbH |
| 3 # | 3 # |
| 4 # Adblock Plus is free software: you can redistribute it and/or modify | 4 # Adblock Plus is free software: you can redistribute it and/or modify |
| 5 # it under the terms of the GNU General Public License version 3 as | 5 # it under the terms of the GNU General Public License version 3 as |
| 6 # published by the Free Software Foundation. | 6 # published by the Free Software Foundation. |
| 7 # | 7 # |
| 8 # Adblock Plus is distributed in the hope that it will be useful, | 8 # Adblock Plus is distributed in the hope that it will be useful, |
| 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 # GNU General Public License for more details. | 11 # GNU General Public License for more details. |
| 12 # | 12 # |
| 13 # You should have received a copy of the GNU General Public License | 13 # You should have received a copy of the GNU General Public License |
| 14 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | 14 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| 15 # |
| 16 # NOTE: |
| 17 # This CI configuration is meant to be run on private runners, which can be |
| 18 # provisioned with the Ansible roles from |
| 19 # https://gitlab.com/eyeo/devops/ansible-role-adblockplus-builder and |
| 20 # https://gitlab.com/eyeo/devops/ansible-role-gitlab-runner |
| 15 | 21 |
| 16 stages: | 22 stages: |
| 17 - prepare | 23 - prepare |
| 18 - test | 24 - test |
| 19 | 25 |
| 20 .dependencies: | 26 .dependencies: |
| 21 script: &dependencies | 27 script: &dependencies |
| 22 - mkdir -p .git/info | 28 - mkdir -p .git/info |
| 23 - pip install --user Jinja2 cryptography | 29 - pip install --user Jinja2 cryptography |
| 24 - python ensure_dependencies.py | 30 - python ensure_dependencies.py |
| (...skipping 25 matching lines...) Expand all Loading... |
| 50 | 56 |
| 51 tests:chrome: | 57 tests:chrome: |
| 52 <<: *test_template | 58 <<: *test_template |
| 53 script: | 59 script: |
| 54 - xvfb-run npm run test-only -- -g chrome | 60 - xvfb-run npm run test-only -- -g chrome |
| 55 | 61 |
| 56 lint: | 62 lint: |
| 57 <<: *test_template | 63 <<: *test_template |
| 58 script: | 64 script: |
| 59 - npm run lint | 65 - npm run lint |
| OLD | NEW |