|
2 | 2 | ################ |
3 | 3 | # GNU Parallel # |
4 | 4 | ################ |
5 | | -# Install all Travis CI dependencies for building and validation. |
6 | | -# [BUG] Don't use NON-ASCII symbols in this file! |
| 5 | +# [PURPOSE] Install all Travis CI dependencies for building and validation. |
| 6 | + |
| 7 | + |
| 8 | +# [BUG][WARNING][APPVEYOR] Don't use NON-ASCII symbols in this file! |
7 | 9 | # AppVeyor doesn't support them. |
8 | 10 | # https://ci.appveyor.com/project/Kristinita/kristinitapelican/build/job/ha70um51grbxo8e4#L2032 |
9 | 11 | # https://github.com/appveyor/ci/issues/2226 |
10 | 12 | # https://github.com/appveyor/ci/issues/2129 |
11 | 13 | # https://github.com/appveyor/ci/issues/2107 |
12 | | -# Run commands parallel: |
| 14 | + |
| 15 | + |
| 16 | +# [LEARN][PARALLEL] Run commands parallel: |
13 | 17 | # https://www.gnu.org/software/parallel/ |
14 | | -# [WARNING] On Windows works in Cygwin, not in default console: |
| 18 | +# [WARNING] On Windows it works in Cygwin, not in default console: |
15 | 19 | # https://savannah.gnu.org/forum/forum.php?forum_id=7581 |
16 | 20 | # [INFO] Parallel npm and pip tasks: |
17 | 21 | # https://unix.stackexchange.com/a/427419/237999 |
18 | | -# [WARNING] Default UNIX parallel commands doesn't work for Travis CI: |
| 22 | +# [NOTE] Default UNIX parallel commands doesn't work for Travis CI: |
19 | 23 | # https://unix.stackexchange.com/questions/427410#comment771128_427415 |
| 24 | +# [WARNING] Don't paste any comments after "parallel :::", parallel will not work! |
| 25 | +# https://travis-ci.org/Kristinita/SashaScrutinizer/builds/363772800 |
| 26 | + |
| 27 | + |
| 28 | +# [NOTE] Node.js latest version required; |
| 29 | +# because by default it doesn't work correctly: |
| 30 | +# https://travis-ci.org/github/Kristinita/KristinitaPelican/jobs/728121010 |
| 31 | +# [LEARN][NVM] Install the latest Node.js version by NVM: |
| 32 | +# https://github.com/nvm-sh/nvm#usage |
| 33 | +# https://travis-ci.org/github/Kristinita/SashaTravisDebugging/builds/728253580#L187-L188 |
| 34 | +# [INFO] David Welsh reccomends NVM installation: |
| 35 | +# https://davidwalsh.name/nvm |
| 36 | +# [NOTE] Doesn't work: |
| 37 | +# "node_js: node": |
| 38 | +# https://docs.travis-ci.com/user/languages/javascript-with-nodejs/#specifying-nodejs-versions |
| 39 | +# https://travis-ci.org/github/Kristinita/SashaTravisDebugging/builds/728248259#L182-L183 |
| 40 | +# Node.js from apt addon: |
| 41 | +# https://travis-ci.org/github/Kristinita/SashaTravisDebugging/builds/728250645#L223-L224 |
| 42 | +# ".nvmrc": |
| 43 | +# https://docs.travis-ci.com/user/languages/javascript-with-nodejs/#specifying-nodejs-versions-using-nvmrc |
| 44 | +# https://travis-ci.org/github/Kristinita/SashaTravisDebugging/builds/728252349#L182-L183 |
| 45 | +# "apt-get -y install node.js": |
| 46 | +# https://stackoverflow.com/a/21119945/5951529 |
| 47 | +# https://travis-ci.org/github/Kristinita/SashaTravisDebugging/builds/728252818#L219-220 |
| 48 | + |
| 49 | + |
20 | 50 | # [NOTE] Grunt tasks needs grunt-cli globally: |
21 | 51 | # https://stackoverflow.com/a/21133609/5951529 |
22 | | -# [WARNING] Don't paste any comments "after parallel :::", parallel will not work: |
23 | | -# https://travis-ci.org/Kristinita/SashaScrutinizer/builds/363772800 |
24 | | -# [NOTE] "pipenv run python rename_pelican_plugins_folder.py" required, not |
25 | | -# "python rename_pelican_plugins_folder.py": |
26 | | -# https://travis-ci.org/Kristinita/KristinitaPelican/jobs/536312994#L483 |
27 | | -# [FIXED] I remove "python rename_pelican_plugins_folder.py" file |
28 | | -# [WARNING] apt-get HTML Tidy version outdated, build HTML tidy on Ubuntu from sources: |
| 52 | + |
| 53 | + |
| 54 | +# [FIXME] Temporary downgrade pipenv, because locking bug in the newest versions: |
| 55 | +# https://github.com/pypa/pipenv/issues/3391 |
| 56 | + |
| 57 | + |
| 58 | +# [NOTE] apt-get HTML Tidy version outdated, build HTML tidy on Ubuntu from sources: |
| 59 | +# https://askubuntu.com/a/1027128 |
29 | 60 | # https://github.com/htacg/tidy-html5/blob/next/README/BUILD.md |
30 | 61 | # https://github.com/htacg/tidy-html5/issues/721 |
31 | 62 | # https://codeyarns.com/2016/06/06/how-to-build-and-install-html-tidy/ |
32 | 63 | # [NOTE] "sudo make install" — mandatory command: |
33 | 64 | # https://travis-ci.org/Kristinita/SashaTidyDebugging/builds/369420036 |
34 | 65 | # [BUG] Warnings in console, when HTML Tidy build: |
35 | 66 | # https://github.com/htacg/tidy-html5/issues/721 |
36 | | -# [BUG] Temporary downgrade pipenv, because locking bug in newest versions: |
37 | | -# https://github.com/pypa/pipenv/issues/3391 |
| 67 | + |
| 68 | + |
| 69 | +# [INFO] PhantomJS pre-installed on Travis: |
| 70 | +# https://docs.travis-ci.com/user/gui-and-headless-browsers/#using-phantomjs |
| 71 | + |
| 72 | + |
38 | 73 | # [INFO] Install .NET Core and LocalAppVeyor for Ubuntu: |
39 | 74 | # https://dotnet.microsoft.com/download/linux-package-manager/ubuntu16-04/sdk-current |
40 | | -# [NOTE] PhantomJS pre-installed on Travis: |
41 | | -# https://docs.travis-ci.com/user/gui-and-headless-browsers/#using-phantomjs |
42 | 75 | # [NOTE] Matrix key "dotnet" for C#, F# or Visual Basic projects. |
43 | 76 | # If no, you need install .NET Core manually: |
44 | 77 | # https://docs.travis-ci.com/user/languages/csharp/ |
45 | | -# [WARNING] You need specific DotNet version and Ubuntu version; |
| 78 | +# [NOTE] You need specific DotNet and Ubuntu version; |
46 | 79 | # "https://packages.microsoft.com/config/ubuntu/packages-microsoft-prod.deb" and |
47 | 80 | # "sudo apt-get install dotnet-sdk" will not works |
48 | | -# [WARNING] You need specific LocalAppVeyor version, because no stable versions at January 2019, |
49 | | -# and user get a bug: "error NU1103: Unable to find a stable package localappveyor with version" |
50 | | -# [FIXED] For September, 2019 specific LocalAppVeyor version not available: |
51 | | -# https://www.nuget.org/packages/localappveyor/ |
52 | 81 | parallel ::: 'pip install --upgrade pip && pip install pipenv==11.10.2 && pipenv install --dev && pipenv run peru sync' \ |
53 | | - 'npm install --global npm && npm install -g grunt-cli && npm install' \ |
| 82 | + 'nvm install node && npm install --global npm && npm install -g grunt-cli && npm install' \ |
54 | 83 | 'git clone https://github.com/htacg/tidy-html5.git && cd tidy-html5 && cd build/cmake && cmake ../.. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIB:BOOL=OFF && make && sudo make install' \ |
55 | 84 | 'gem install travis' \ |
56 | 85 | 'wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && sudo dpkg -i packages-microsoft-prod.deb && sudo apt-get update && sudo apt-get install dotnet-sdk-3.1 && dotnet tool install -g localappveyor' |
0 commit comments