This repository has been archived by the owner on Dec 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #263 from manoelmarques/stable-0.4.0
New Release 0.4.0
- Loading branch information
Showing
265 changed files
with
12,182 additions
and
5,753 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Copyright 2018, IBM. | ||
# | ||
# This source code is licensed under the Apache License, Version 2.0 found in | ||
# the LICENSE.txt file in the root directory of this source tree. | ||
|
||
notifications: | ||
on_success: change | ||
on_failure: always | ||
|
||
cache: pip | ||
os: linux | ||
dist: trusty | ||
|
||
language: python | ||
python: | ||
- "3.6" | ||
|
||
stage_dependencies: &stage_dependencies | ||
# Install Dependencies | ||
# The env. variable MASTER_BRANCH_DEPENDENCIES forces dependencies used from master | ||
env: | ||
- > | ||
MASTER_BRANCH_DEPENDENCIES=true | ||
CMAKE_FLAGS="-D CMAKE_CXX_COMPILER=g++-5 -D ENABLE_TARGETS_QA=False -D WHEEL_TAG=-pmanylinux1_x86_64 -D STATIC_LINKING=True" | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- liblapack-dev | ||
- libblas-dev | ||
- g++-5 | ||
before_install: | ||
# download Qiskit Terra master and unzip it only if forced from master or not stable branch, otherwise use the pypi version | ||
- | | ||
if [ ${MASTER_BRANCH_DEPENDENCIES} = "true" ] || [ ${TRAVIS_BRANCH} != "stable" ]; then | ||
wget https://codeload.github.com/Qiskit/qiskit-terra/zip/master -O /tmp/qiskit-terra.zip | ||
unzip /tmp/qiskit-terra.zip -d /tmp/ | ||
# Install Qiskit Terra requirements. | ||
pip install -U -r /tmp/qiskit-terra-master/requirements.txt | ||
pip install -U -r /tmp/qiskit-terra-master/requirements-dev.txt | ||
# Create the basic cmake structure, setting out/ as the default dir. | ||
cd /tmp/qiskit-terra-master | ||
mkdir out && cd out && cmake $CMAKE_FLAGS .. | ||
# Compile the executables | ||
make | ||
# Install local Qiskit Terra | ||
pip install -e /tmp/qiskit-terra-master | ||
# back to current repo directory | ||
cd $TRAVIS_BUILD_DIR | ||
fi | ||
install: | ||
# install Aqua and dev requirements | ||
- pip install -e $TRAVIS_BUILD_DIR | ||
- pip install -U -r requirements-dev.txt | ||
|
||
# Define the order of the stages. | ||
stages: | ||
- test first half | ||
- test second half | ||
|
||
jobs: | ||
include: | ||
- stage: test first half | ||
<<: *stage_dependencies | ||
script: | ||
- python test/customtests.py 0 -end 21 | ||
|
||
- stage: test second half | ||
<<: *stage_dependencies | ||
script: | ||
- python test/customtests.py 21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
recursive-include qiskit_aqua *.json | ||
include qiskit_aqua/Qconfig_template.txt | ||
recursive-include qiskit_aqua_ui *.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Copyright 2018, IBM. | ||
# | ||
# This source code is licensed under the Apache License, Version 2.0 found in | ||
# the LICENSE.txt file in the root directory of this source tree. | ||
|
||
.PHONY: env doc | ||
|
||
# Dependencies need to be installed on the Anaconda virtual environment. | ||
env: | ||
if test $(findstring QISKitenv, $(shell conda info --envs)); then \ | ||
bash -c "source activate QISKitenv;pip install -r requirements.txt"; \ | ||
else \ | ||
conda create -y -n QISKitenv python=3; \ | ||
bash -c "source activate QISKitenv;pip install -r requirements.txt"; \ | ||
fi; | ||
|
||
doc: | ||
# create Qiskit Chemistry docs | ||
make -C ../qiskit-chemistry/docs clean | ||
sphinx-apidoc -f -o ../qiskit-chemistry/docs ../qiskit-chemistry | ||
make -C ../qiskit-chemistry/docs html | ||
# create Aqua docs | ||
make -C docs clean | ||
sphinx-apidoc -f -o docs . | ||
make -C docs html | ||
|
||
clean: | ||
# clean Qiskit Chemistry docs | ||
make -C ../qiskit-chemistry/docs clean | ||
# clean Qiskit Aqua docs | ||
make -C docs clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.