summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 506a01108ec34c1a27b5348b8aaff53ed743c300 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
image: debian:buster

stages:
  - test

test:
  stage: test
  script:
  - apt-get update -qy
  - apt-get install -y python3-dev python3-numpy python3-scipy python3-pytest python3-sklearn python3-yaml wget
  - mkdir test-data
  - wget -O test-data/20161221_123347_mmparam.tar https://lib.finalrewind.org/energy-models/20161221_123347_mmparam.tar
  - wget -O test-data/20170116_124500_LM75x.tar https://lib.finalrewind.org/energy-models/20170116_124500_LM75x.tar
  - wget -O test-data/20170116_131306_LM75x.tar https://lib.finalrewind.org/energy-models/20170116_131306_LM75x.tar
  - wget -O test-data/20170116_142654_mmstatic.tar https://lib.finalrewind.org/energy-models/20170116_142654_mmstatic.tar
  - wget -O test-data/20170116_143516_mmstatic.tar https://lib.finalrewind.org/energy-models/20170116_143516_mmstatic.tar
  - wget -O test-data/20170116_145420_sharpLS013B4DN.tar https://lib.finalrewind.org/energy-models/20170116_145420_sharpLS013B4DN.tar
  - wget -O test-data/20170116_151348_sharpLS013B4DN.tar https://lib.finalrewind.org/energy-models/20170116_151348_sharpLS013B4DN.tar
  - wget -O test-data/20170125_125433_cc1200.tar https://lib.finalrewind.org/energy-models/20170125_125433_cc1200.tar
  - wget -O test-data/20170125_142420_cc1200.tar https://lib.finalrewind.org/energy-models/20170125_142420_cc1200.tar
  - wget -O test-data/20170125_144957_cc1200.tar https://lib.finalrewind.org/energy-models/20170125_144957_cc1200.tar
  - wget -O test-data/20170125_151149_cc1200.tar https://lib.finalrewind.org/energy-models/20170125_151149_cc1200.tar
  - wget -O test-data/20170125_151824_cc1200.tar https://lib.finalrewind.org/energy-models/20170125_151824_cc1200.tar
  - wget -O test-data/20170125_154019_cc1200.tar https://lib.finalrewind.org/energy-models/20170125_154019_cc1200.tar
  - wget -O test-data/20190724_161440_nRF24_no-rx.json https://lib.finalrewind.org/energy-models/20190724_161440_nRF24_no-rx.json
  - PYTHONPATH=lib pytest-3