QuTech-Delft / quantuminspire

Quantum Inspire SDK
Apache License 2.0
65 stars 27 forks source link

[DEM-722] Jenkins build #32

Closed QFer closed 5 years ago

QFer commented 5 years ago

First commit for enabling:

When this PR is merged, Jenkins has to be adjusted (configured) to build the master branch of quantuminspire instead of this PR.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 7dc810c64b8777a127779f050e96194e987c574a on feature/DEM-722/Jenkins into 3af866af237ae9223990c1c65fda0382284bee30 on dev.

QFer commented 5 years ago

The Jenkinsfile includes:

  1. installing the latest qiskit from mypy (installing qiskit, qiskit-aer and qiskit-terra).
  2. uninstalling the qiskit package (leaving terra and aer)
  3. cloning qiskit from github master and installing it (the develop version)
  4. Installing quantuminspire from the repository
  5. Setting the credentials (API_USERNAME, API_PASSWORD)
  6. Running the qiskit example file which uses these credentials

I currently left out the unittesting (and mypy-ing) of quantuminspire to detect errors in these tests because it's not in the goal of this ticket. Of course we can add them.

QFer commented 5 years ago

In the ticket DEM-722 are some todo's after the review comments are solved.