Repository: joblib/joblib
Pull request #499 (2017-02-16 09:25:55)

[MRG] Improve folder organisation for CI files
Also remove unneeded quotes in appveyor.yml.

I'll merge this one when the CIs are green.

codecov[bot]: # [Codecov](https://codecov.io/gh/joblib/joblib/pull/499?src=pr&el=h1) Report
> Merging [#499](https://codecov.io/gh/joblib/joblib/pull/499?src=pr&el=desc) into [master](https://codecov.io/gh/joblib/joblib/commit/aa51061b447da0a2254f837b680827906f1ce352?src=pr&el=desc) will **decrease** coverage by `-0.09%`.
> The diff coverage is `n/a`.


```diff
@@            Coverage Diff             @@
##           master     #499      +/-   ##
==========================================
- Coverage   93.31%   93.22%   -0.09%     
==========================================
  Files          36       36              
  Lines        4680     4680              
==========================================
- Hits         4367     4363       -4     
- Misses        313      317       +4
```


| [Impacted Files](https://codecov.io/gh/joblib/joblib/pull/499?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [joblib/_parallel_backends.py](https://codecov.io/gh/joblib/joblib/compare/aa51061b447da0a2254f837b680827906f1ce352...63e95898c19cd40b23ad2fd6df55f845b632f7d1?src=pr&el=tree#diff-am9ibGliL19wYXJhbGxlbF9iYWNrZW5kcy5weQ==) | `91.21% <ø> (-2.03%)` | :x: |
| [joblib/test/test_parallel.py](https://codecov.io/gh/joblib/joblib/compare/aa51061b447da0a2254f837b680827906f1ce352...63e95898c19cd40b23ad2fd6df55f845b632f7d1?src=pr&el=tree#diff-am9ibGliL3Rlc3QvdGVzdF9wYXJhbGxlbC5weQ==) | `93.89% <ø> (-0.27%)` | :x: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/joblib/joblib/pull/499?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/joblib/joblib/pull/499?src=pr&el=footer). Last update [aa51061...63e9589](https://codecov.io/gh/joblib/joblib/compare/aa51061b447da0a2254f837b680827906f1ce352...63e95898c19cd40b23ad2fd6df55f845b632f7d1?el=footer&src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
lesteve: This is typically the multiprocessing coverage issues I was mentioning before. I'll merge anyway.

Patch:
diff --git a/.travis.yml b/.travis.yml
index 32580d0..1a8b680 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,10 +22,10 @@ env:
     - SKIP_TESTS="true" FLAKE8_VERSION="2.5.1" PYTHON_VERSION="3.5"
 
 install:
-    - source continuous_integration/install.sh
+    - source continuous_integration/travis/install.sh
 
 script:
-    - source continuous_integration/test_script.sh
+    - source continuous_integration/travis/test_script.sh
 
 after_success:
     # Ignore codecov failures because we don't want travis to report a
diff --git a/appveyor.yml b/appveyor.yml
index 7eadaee..7c126a2 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -15,16 +15,16 @@ environment:
 install:
   # Install Python (from the official .msi of http://python.org) and pip when
   # not already installed.
-  - "powershell ./appveyor/install.ps1"
-  - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
+  - powershell ./continuous_integration/appveyor/install.ps1
+  - SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
 
   # Install the build and runtime dependencies of the project.
-  - "pip install -r appveyor/requirements.txt"
-  - "python setup.py bdist_wheel"
-  - ps: "ls dist"
+  - pip install -r continuous_integration/appveyor/requirements.txt
+  - python setup.py bdist_wheel
+  - ps: ls dist
 
   # Install the generated wheel package to test it
-  - "pip install --pre --no-index --find-links dist/ joblib"
+  - pip install --pre --no-index --find-links dist/ joblib
 
 # Not a .NET project, we build in the install step instead
 build: false
diff --git a/appveyor/install.ps1 b/continuous_integration/appveyor/install.ps1
similarity index 100%
rename from appveyor/install.ps1
rename to continuous_integration/appveyor/install.ps1
diff --git a/appveyor/requirements.txt b/continuous_integration/appveyor/requirements.txt
similarity index 100%
rename from appveyor/requirements.txt
rename to continuous_integration/appveyor/requirements.txt
diff --git a/continuous_integration/flake8_diff.sh b/continuous_integration/travis/flake8_diff.sh
similarity index 97%
rename from continuous_integration/flake8_diff.sh
rename to continuous_integration/travis/flake8_diff.sh
index 526bae8..3fb386b 100755
--- a/continuous_integration/flake8_diff.sh
+++ b/continuous_integration/travis/flake8_diff.sh
@@ -12,8 +12,8 @@
 # Additional features:
 #   - the line numbers in Travis match the local branch on the PR
 #     author machine.
-#   - bash continuous_integration/flake8_diff.sh can be run locally for quick
-#     turn-around
+#   - bash continuous_integration/travis/flake8_diff.sh can be run
+#     locally for quick turn-around
 
 set -e
 # pipefail is necessary to propagate exit codes


Test patch:
diff --git a/continuous_integration/install.sh b/continuous_integration/travis/install.sh
similarity index 100%
rename from continuous_integration/install.sh
rename to continuous_integration/travis/install.sh
diff --git a/continuous_integration/test_script.sh b/continuous_integration/travis/test_script.sh
similarity index 91%
rename from continuous_integration/test_script.sh
rename to continuous_integration/travis/test_script.sh
index e7b0816..6ae4cb8 100755
--- a/continuous_integration/test_script.sh
+++ b/continuous_integration/travis/test_script.sh
@@ -3,7 +3,7 @@
 set -e
 
 if [[ -n "$FLAKE8_VERSION" ]]; then
-    source continuous_integration/flake8_diff.sh
+    source continuous_integration/travis/flake8_diff.sh
 fi
 
 if [[ "$SKIP_TESTS" != "true" ]]; then