mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 10:01:40 +00:00
Part one of some needful Travis cleanup.
Split the different tasks into their own .sh files rather than doing many things per .sh file
Use .travis.yml jobs list to select which tasks are run rather than setting environment variables which the shell scripts then check
Moves the grep lints from running in both "Maps" and "Tests" jobs, and runs them in "Lints" job (formerly "Tools") instead
Makes the check_filedirs.sh lint only run in the "Lints" job rather than in all three jobs.
Removes the check that dependencies.sh matches Dockerfile since the former now pulls from the latter
Uncache node_modules - npm ci is expected to trash this every time and warns when it already exists
Uncache and remove the unnecessary fake MariaDB folder used when building BSQL, give it the real path instead
Attempt to cache the BYOND-provided libmariadb (not sure if this works, will re-examine it in part two)
For part two I hope to switch to using rust_g and BSQL binaries from GitHub releases, and add SpacemanDMM's dreamchecker to the Lints job.
13 lines
193 B
Bash
Executable File
13 lines
193 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
source dependencies.sh
|
|
|
|
source ~/.nvm/nvm.sh
|
|
nvm install $NODE_VERSION
|
|
|
|
pip3 install --user PyYaml
|
|
pip3 install --user beautifulsoup4
|
|
|
|
phpenv global $PHP_VERSION
|