.gitlab-ci.yml 599 Bytes
Newer Older
1
2
include:
  - project: pole-is/tools/ci-config
Guillaume Perréal's avatar
CS yml.    
Guillaume Perréal committed
3
    ref: '4.0.0'
4
5
6
7
    file:
      - /defaults.yml
      - /php/package.yml
      - /nodejs/base.yml
8
9
10
11
12

stages:
  - vendor
  - test
  - test-generated
Guillaume Perréal's avatar
Guillaume Perréal committed
13

14
variables:
Guillaume Perréal's avatar
CS yml.    
Guillaume Perréal committed
15
16
  PHP_VERSION: '7.1'
  NODEJS_TEST_BROWSER_PACKAGES: ''
17

18
19
test:console:
  extends: .php-test
20
21
22

test:generate:
  extends: .php-test
23
24
25
26
  artifacts:
    name: generated-typescript
    paths:
      - output/
27

28
test:compile-generated:
29
30
  stage: test-generated
  extends: .nodejs
31
  needs:
32
33
34
    - node_modules
    - test:generate
  script:
35
    - npm update -g npm
36
    - npm run-script test:compile-generated