.gitlab-ci.yml 444 Bytes
Newer Older
Erick Hitter's avatar
Erick Hitter committed
1 2 3
stages:
  - test

Erick Hitter's avatar
Erick Hitter committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
before_script:
  - mkdir -p /home/pi/ssl
  - mkdir -p /home/pi/.ssh
  - touch /home/pi/ssl/chain
  - touch /home/pi/ssl/key
  - touch /home/pi/.ssh/id_rsa

.lint: &lint
  - hass --version
  - hass --script check_config -c .

lint:current:
  stage: test
  image: homeassistant/amd64-homeassistant:0.102.3
  script:
    - *lint

lint:latest:
Erick Hitter's avatar
Erick Hitter committed
22
  stage: test
Erick Hitter's avatar
Erick Hitter committed
23
  image: homeassistant/amd64-homeassistant:latest
Erick Hitter's avatar
Erick Hitter committed
24
  script:
Erick Hitter's avatar
Erick Hitter committed
25
    - *lint