Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: .gitlab-ci.yml

Issue 29862580: Issue 6651 - Pt1: Qunit tests through gitlab CI (PENDING) (Closed) Base URL: https://codereview.adblockplus.org/29860555/
Patch Set: Created Aug. 23, 2018, 7 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build_requirements.txt » ('j') | build_requirements.txt » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # This file is part of Adblock Plus <https://adblockplus.org/>,
2 # Copyright (C) 2006-present eyeo GmbH
3 #
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
6 # published by the Free Software Foundation.
7 #
8 # Adblock Plus is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12 #
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/>.
15
16 stages:
17 - install
18 - test_ext
19
20 .gecko_branch: &gecko_branch
Sebastian Noack 2018/08/23 23:35:53 What does that do?
tlucas 2018/08/24 10:27:58 Removed now, but FWIW: this template (used as a v
21 only:
22 - branches
23
24 prepare-dependencies:
25 stage: install
26 script:
27 - mkdir -p .git/info && touch .git/info/exclude
Sebastian Noack 2018/08/23 23:35:53 Perhaps we should rather adapt ensure_dependencies
tlucas 2018/08/24 10:27:58 While you're right about the perks, i'd rather not
28 - pip install --user -r build_requirements.txt
Sebastian Noack 2018/08/23 23:45:06 If the only purpose of the requirements file is to
tlucas 2018/08/24 10:27:58 Done.
29 - python ensure_dependencies.py
30 - npm install
31 cache:
32 key: cache_$CI_COMMIT_SHA
Sebastian Noack 2018/08/23 23:35:53 Is there any point in caching if the cache is inva
tlucas 2018/08/24 10:27:58 Removed now, but FWIW: The cache is shared across
33 paths:
34 - ./
35 policy: push
36
37 # reusable template for browser-test jobs
38 .browser_test_t: &browser_test
39 stage: test_ext
40 script:
41 - npm test -- $TARGET
42 cache:
43 key: cache_$CI_COMMIT_SHA
44 paths:
45 - ./
46 policy: pull
47 environment:
48 name: devbuilds
49
50 # Invoke browser tests
51
52 qunit:gecko:
53 variables:
54 TARGET: gecko
Sebastian Noack 2018/08/23 23:35:53 Where is this variable picked up?
tlucas 2018/08/24 10:27:58 Line 41, However, it's removed now.
55 <<: *browser_test
56 <<: *gecko_branch
OLDNEW
« no previous file with comments | « no previous file | build_requirements.txt » ('j') | build_requirements.txt » ('J')

Powered by Google App Engine
This is Rietveld