Skip to content

ci: Support building on Appveyor/CircleCI/TravisCI using scikit-ci.yml#1

Merged
jcfr merged 54 commits intomasterfrom
add-continuous-integration
Nov 7, 2016
Merged

ci: Support building on Appveyor/CircleCI/TravisCI using scikit-ci.yml#1
jcfr merged 54 commits intomasterfrom
add-continuous-integration

Conversation

@jcfr
Copy link
Copy Markdown
Contributor

@jcfr jcfr commented Oct 11, 2016

No description provided.

@AppVeyorBot
Copy link
Copy Markdown

@jcfr jcfr force-pushed the add-continuous-integration branch from 41888be to 829b3af Compare October 12, 2016 03:15
@jcfr jcfr force-pushed the add-continuous-integration branch from 829b3af to 0b99493 Compare October 12, 2016 03:38
@AppVeyorBot
Copy link
Copy Markdown

@AppVeyorBot
Copy link
Copy Markdown

@AppVeyorBot
Copy link
Copy Markdown

jcfr added 4 commits October 24, 2016 22:17
This commit follows up 2efb1fe (Rename requirements.txt
to requirements-dev.txt)
This commit fixes error like this one:

CMake Error at CMakeLists.txt:351 (install):
  install FILES given directory
  "/Volumes/Dashboards/Experimental/cmake-python-distributions/_skbuild/cmake-build/CMakeProject-binary-distribution/CMake.app/Contents/Frameworks/QtWidgets.framework/Resources"
  to install.
This commit ensures executable are installed with execution bit set
on MacOSX.

Prior to this commit, executables had the following bits:

-rw-r--r--

After this commit, the following:

-rwxr-xr-x
@AppVeyorBot
Copy link
Copy Markdown

@jcfr jcfr force-pushed the add-continuous-integration branch from 6195d19 to b4cc561 Compare October 26, 2016 04:55
@AppVeyorBot
Copy link
Copy Markdown

@jcfr jcfr force-pushed the add-continuous-integration branch from b4cc561 to d64353d Compare October 26, 2016 04:59
@AppVeyorBot
Copy link
Copy Markdown

@AppVeyorBot
Copy link
Copy Markdown

@jcfr jcfr force-pushed the add-continuous-integration branch from d64353d to 70f5823 Compare October 26, 2016 05:23
@AppVeyorBot
Copy link
Copy Markdown

@jcfr jcfr force-pushed the add-continuous-integration branch 4 times, most recently from 4830d93 to b75f002 Compare October 26, 2016 06:39
@jcfr jcfr force-pushed the add-continuous-integration branch from b75f002 to bf97fc4 Compare October 26, 2016 06:49
@AppVeyorBot
Copy link
Copy Markdown

@AppVeyorBot
Copy link
Copy Markdown

@AppVeyorBot
Copy link
Copy Markdown

@AppVeyorBot
Copy link
Copy Markdown

jcfr added 3 commits November 1, 2016 10:40
* Remove unneeded event log listing

* Remove GitHubPullRequest. Considering it is a small project. We don't yet
  need Appveyor to add a comment on the PR.

* Remove "shallow_clone: false", it is already set to false by default.
  Doing a regular clone is needed to ensure sdist works as expected.
@jcfr jcfr force-pushed the add-continuous-integration branch 2 times, most recently from 406a465 to 20d8c79 Compare November 1, 2016 19:27
@jcfr jcfr force-pushed the add-continuous-integration branch from 20d8c79 to dc6e40b Compare November 1, 2016 20:45
jcfr added 5 commits November 1, 2016 18:08
Release process is now as simple as tagging a release, there
is no need to manually updates version in __init__.py and setup.py

Most of the files enabling this process have been generated and/or
updated after:
1) pip install versioneer
2) adding "versioneer" section to setup.cfg
3) running "versioneer install"

For more details, see https://github.com/warner/python-versioneer/
* Update to scikit-ci==0.10.0 to add support for python commands
This commit fixes the following error:

```
[scikit-ci] Executing: ./dockcross /opt/python/cp27-cp27mu/bin/python -m pip install --disable-pip-version-check --upgrade pip
Collecting pip
  Downloading pip-9.0.0-py2.py3-none-any.whl (1.3MB)
Installing collected packages: pip
  Found existing installation: pip 8.1.2
    Uninstalling pip-8.1.2:
Exception:
Traceback (most recent call last):
  File "/opt/python/cp27-cp27mu/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/opt/python/cp27-cp27mu/lib/python2.7/site-packages/pip/commands/install.py", line 317, in run
    prefix=options.prefix_path,
  File "/opt/python/cp27-cp27mu/lib/python2.7/site-packages/pip/req/req_set.py", line 736, in install
    requirement.uninstall(auto_confirm=True)
  File "/opt/python/cp27-cp27mu/lib/python2.7/site-packages/pip/req/req_install.py", line 742, in uninstall
    paths_to_remove.remove(auto_confirm)
  File "/opt/python/cp27-cp27mu/lib/python2.7/site-packages/pip/req/req_uninstall.py", line 115, in remove
    renames(path, new_path)
  File "/opt/python/cp27-cp27mu/lib/python2.7/site-packages/pip/utils/__init__.py", line 267, in renames
    shutil.move(old, new)
  File "/opt/python/cp27-cp27mu/lib/python2.7/shutil.py", line 303, in move
    os.unlink(src)
OSError: [Errno 13] Permission denied: '/opt/_internal/cpython-2.7.11-ucs4/bin/pip'
```

Suggested-by: Matt McCormick <[email protected]>
@jcfr jcfr force-pushed the add-continuous-integration branch from fd86c0e to d63d39b Compare November 4, 2016 19:32
jcfr added 2 commits November 6, 2016 19:29
* ci executable now run all steps at once in the container. Prior to this
  commit, each step was running its command using dockcross script but
  since no state was saved in between, installed package (e.g flake8)
  were not available in subsequent steps

* skip "setup.py build" and directly run "sdist" and "bdist_wheel"

* ensure "dist" folder is cleaned-up at the beginning of each execution.
  When wheels for two different flavor of python are made  in a row, this
  ensure previous wheels are not re-uploaded
@jcfr jcfr force-pushed the add-continuous-integration branch from 06ff06c to d2f21cf Compare November 7, 2016 00:29
@jcfr jcfr force-pushed the add-continuous-integration branch from 36f6301 to 4147af8 Compare November 7, 2016 03:21
jcfr added 3 commits November 6, 2016 22:30
This commit fixes the following error:

LookupError: unknown service: None of the environment variables TRAVIS, CIRCLECI, APPVEYOR are set to 'true' or 'True'
This commit re-adds flag inadvertently removed in d432809 (circle: Fix
building of wheels using manylinux images and scikit-ci)
@jcfr jcfr merged commit 7374cb1 into master Nov 7, 2016
@jcfr jcfr deleted the add-continuous-integration branch November 7, 2016 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants