forked from SymbiFlow/sphinxcontrib-hdl-diagrams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
69 lines (56 loc) · 1.5 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
language: minimal
git:
depth: false
before_install:
- make version
install:
- make env
- source env/conda/bin/activate sphinxcontrib-hdl-diagrams
stages:
- name:
- Test
- Build
- Deploy
jobs:
- stage: Tests
name: "Test :skin: option"
script:
- cd tests && python3 -m unittest test.TestSkins
- stage: Tests
name: "Test :yosys_script: option"
script:
- cd tests && python3 -m unittest test.TestYosysScript
name: "Test :flatten: option"
script:
- cd tests && python3 -m unittest test.TestFlatten
- stage: Tests
name: "Test verilog_diagram_yosys config variable"
script:
- cd tests && python3 -m unittest test.TestYosysType
- stage: Tests
name: "Test nMigen input format"
script:
- cd tests && python3 -m unittest test.TestNMigen
- stage: Tests
name: "Test RTLIL input format"
script:
- cd tests && python3 -m unittest test.TestRTLIL
- stage: Tests
name: "Test compatibility package"
script:
- cd tests && python3 -m unittest test.TestCompat
- stage: Build
name: "Build"
script:
- make build
- stage: Deploy
name: "PyPI"
install: null
before_deploy:
- sudo ln -sf /usr/bin/python3 /usr/bin/python
deploy:
provider: pypi
username: __token__
distributions: sdist bdist_wheel
skip_existing: true
edge: true # opt in to dpl v2