AMD64
Shell
Git
api
---
language: generic
addons:
snaps:
- name: helm
classic: true
script:
- helm lint chart/pagerduty-oncall
- bin/docker-build
deploy:
provider: script
script: bin/docker-push
on:
repo: travis-ci/pagerduty-oncall
all_branches: true
notifications:
email: false
vm6502q/qrack:.travis.yml@f0ac0e1
language: python
python: 3.8
dist: xenial
sudo: true
install:
- sudo apt-get update
- sudo apt-get install linuxdoc-tools linuxdoc-tools-info binutils-mingw-w64-i686 gcc-mingw-w64-i686 sshpass cmake
- python -m pip install --upgrade pip numpy setuptools wheel
- python -m pip install cvxpy cython stestr qiskit pennylane
script:
- mkdir _build && cd _build && cmake -DENABLE_OPENCL=OFF -DENABLE_COMPLEX8=OFF .. && make -j 8 all
- sudo make install
- cd .. && sudo rm -r _build
- mkdir _build && cd _build && cmake -DENABLE_OPENCL=OFF -DENABLE_COMPLEX8=ON .. && make -j 8 all
- ./unittest
- cd ../..
# - cd ../.. && git clone -b qrack_unit_tests https://github.com/vm6502q/ProjectQ.git && cd ProjectQ
# - python -m pip install -r requirements.txt
# - python setup.py install
# - cd build && python -m pytest . && cd ..
- git clone https://github.com/vm6502q/qiskit-qrack-provider.git && cd qiskit-qrack-provider
- python -m pip install .
- python -m stestr run && cd ..
# - cd .. && git clone https://github.com/XanaduAI/pennylane-pq.git && cd pennylane-pq
# - python -m pip install .
# - python -m pytest .
- git clone https://github.com/vm6502q/pennylane-qiskit.git && cd pennylane-qiskit
- python -m pip install .
- python -m pytest . && cd ..
# - cd .. && git clone https://github.com/SoftwareQuTech/SimulaQron.git && cd SimulaQron
# - python -m pip install .
# - echo "import simulaqron" > simulaqron_tests.py && echo "simulaqron.tests()" >> simulaqron_tests.py
# - python simulaqron_tests.py
Build Config
{
"os": [
"linux"
],
"addons": {
"snaps": [
{
"name": "helm",
"classic": true
}
]
},
"deploy": [
{
"on": {
"repo": "travis-ci/pagerduty-oncall",
"all_branches": true
},
"script": "bin/docker-push",
"provider": "script"
}
],
"script": [
"helm lint chart/pagerduty-oncall",
"bin/docker-build"
],
"language": "shell",
"notifications": {
"email": {
"enabled": false
}
}
}