-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
46 lines (46 loc) · 1.55 KB
/
.travis.yml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
dist: focal
jobs:
include:
- language: python
python: "3.7"
stage: test
install:
- pip install --upgrade pip setuptools wheel importlib_metadata
- pip install -r requirements_lock.txt
script:
- echo "python version $(python --version) running"
- echo "pip version $(pip --version) running"
- make check
cache:
pip: true
# We put this node job second because we have one-job execution
# and we'd prefer these to fail quickly before we run all the python tests
- language: node_js
node_js: 14
before_install:
- npm i -g npm@8
before_script:
- cd angular-viewer/adam-angular-demo
- npm install
script:
- echo "node version $(node -v) running"
- echo "npm versions $(npm --version) running"
- make check
cache:
npm: true
- language: python
python: "pypy3.7-7.3.5"
stage: test
install:
- pip install --upgrade pip setuptools wheel
- pip install -r requirements_pypy.txt
# - pip install codecov
script:
- echo "pypy3 version $(pypy3 --version) running"
- echo "pip version $(pip --version) running"
# - make coverage
- make test
cache:
pip: true
# after_success:
# - codecov -t 452b6965-c9da-4306-97d5-a5e86626af8f