2017-05-12 00:12:57 +08:00
|
|
|
# Copyright 2017 IBM RESEARCH. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
# =============================================================================
|
|
|
|
|
|
|
|
# Authors: Jesus Perez <jesusper@us.ibm.com>
|
|
|
|
|
2017-05-08 21:25:14 +08:00
|
|
|
language: python
|
2017-05-11 00:44:30 +08:00
|
|
|
|
2017-06-27 17:20:08 +08:00
|
|
|
python:
|
2017-09-21 18:06:42 +08:00
|
|
|
- "3.5"
|
2017-06-27 17:20:08 +08:00
|
|
|
- "3.6"
|
2017-05-11 00:44:30 +08:00
|
|
|
|
2017-06-27 17:20:08 +08:00
|
|
|
install:
|
2017-10-25 22:12:04 +08:00
|
|
|
- pip install -r requirements.txt
|
|
|
|
- pip install -r requirements-dev.txt
|
2017-05-08 21:25:14 +08:00
|
|
|
|
2017-11-15 21:25:28 +08:00
|
|
|
before_script:
|
|
|
|
- pylint qiskit --errors-only
|
|
|
|
|
2017-06-27 17:20:08 +08:00
|
|
|
script: make test
|
2017-09-28 17:43:46 +08:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: script
|
|
|
|
skip_cleanup: true
|
2017-10-02 18:55:22 +08:00
|
|
|
script: tools/ghpages-documentation-deploy.sh
|
2017-09-28 17:43:46 +08:00
|
|
|
on:
|
|
|
|
branch: stable
|