Commit Graph

22 Commits

Author SHA1 Message Date
underscorediscovery
b0e9247ac3 chore: add macos travis config with single gcc/clang compiler row 2020-05-28 19:53:23 +00:00
underscorediscovery
7232ca4310 fix: rename nan-tagging build configs and add release variant with CI script
Replace the broken `64bit-no-nan-tagging_64bit` and `64bit-no-nan-tagging_32bit` configurations with properly named `release_64bit-no-nan-tagging` and `debug_64bit-no-nan-tagging` across all gmake Makefiles and wren_cli.make files. Add the missing `release_64bit-no-nan-tagging` build target definitions for linux, mac, and bsd platforms. Introduce `.travis.sh` script that runs both nan-tagged and non-nan-tagged debug and release builds, and simplify `.travis.yml` to use the new script with per-os env variables instead of matrix options.
2020-05-28 16:57:29 +00:00
Will Speak
de15c1f14d fix: remove 32-bit macOS build target and update CI to only build 64-bit
Remove the i386 architecture from the libuv xcodebuild command in
util/build_libuv.py to eliminate deprecation warnings from XCode.
Update the Travis CI configuration to drop the ci_32 build target,
leaving only ci_64 for macOS builds. Also add XCBuildData cache
directory to .gitignore.
2018-10-06 08:02:10 +00:00
Bob Nystrom
e6b216e1b0 feat: enable auto-deployment of docs to gh-pages branch from Travis CI 2018-07-15 04:35:33 +00:00
Bob Nystrom
f4238a38e8 fix: replace smartypants package with python-smartypants in Travis config
The smartypants package name was incorrect for the Ubuntu distribution used in CI; switching to python-smartypants ensures the correct Debian/Ubuntu package is installed for text processing dependencies.
2018-07-15 04:00:59 +00:00
Bob Nystrom
7f598b72af fix: replace python3-smartypants with smartypants in travis addons
The previous package name python3-smartypants was incorrect for the Travis CI
build environment, causing package installation failures. This commit corrects
the package name to smartypants, which is the proper apt package for the
SmartyPants text processing library used in documentation generation.
2018-07-15 03:51:48 +00:00
Bob Nystrom
b6d2ed4bb3 chore: add python3-smartypants to Travis CI addons apt packages 2018-07-15 03:44:22 +00:00
Bob Nystrom
4a9e06bbed fix: install python3-pygments dependency for docs build on Travis CI 2018-07-14 19:12:07 +00:00
Bob Nystrom
41546e3bab fix: add python3-setuptools dependency for docs build in travis config 2018-07-14 18:57:11 +00:00
Bob Nystrom
e93159ca5b fix: disable container-based Travis builds and switch to sudo-required trusty dist
The container-based infrastructure does not support sudo, which is needed to install the custom Pygments lexer for documentation generation. This change replaces the `sudo: false` directive with `sudo: required` and explicitly sets the distribution to `trusty`. Additionally, the deploy script is corrected to invoke `sudo python` instead of plain `python` when installing the lexer, ensuring the system-wide installation succeeds.
2018-07-14 18:05:41 +00:00
Bob Nystrom
c7423bbcd9 feat: enable doc deployment on master pushes and install pygments lexer before build 2018-07-14 17:35:45 +00:00
Bob Nystrom
d12463b82e chore: disable doc deployment job in Travis CI and add TODOs for known issues 2018-07-13 16:15:26 +00:00
Bob Nystrom
bf5b66264f chore: rename deploy script and simplify travis condition to push-only
- Rename util/deployGHP.sh to util/deploy_docs_from_travis.sh for consistency
- Change deploy condition from excluding pull requests to explicitly requiring push events on master branch
2018-07-13 15:02:37 +00:00
Freddie Ridell
86433049eb ci: restrict gh-pages deploy to non-PR master branch builds 2018-04-06 19:04:34 +00:00
Freddie Ridell
7d002f10d2 fix: restrict gh-pages deployment to master branch only in travis config 2018-04-06 18:53:53 +00:00
Freddie Ridell
2a40d2fc0a feat: add automated docs deployment to Travis CI with gh-pages script 2018-03-29 13:26:45 +00:00
Will Speak
2d578e0051 feat: add multi-arch CI matrix with nan-tagging toggle and 32-bit test suite
Add Travis CI configuration to build and test Wren on both Linux and macOS, for both 32-bit and 64-bit architectures, with and without WREN_NAN_TAGGING defined. Introduce `ci_32` and `ci_64` make targets that build debug/release and C/C++ variants, then run the test suite against each binary using a suffix parameter. Update `util/test.py` with argparse to accept `--suffix` and `suite` arguments, increase test timeout from 2 to 5 seconds, and fix handle leak in `test/api/slots.c` by moving `wrenReleaseHandle` after the conditional block. Replace `fpclassify`/`signbit` checks for infinity/nan in `wrenNumToString` to avoid GCC overflow warnings on 32-bit, double-cast `double` to `uint32_t` in `num_bitwiseNot` to prevent undefined behavior, and relax floating-point comparisons in `test/core/number/sin.wren` and `cos.wren` to use absolute tolerance. Comment out hex literals larger than `0x1000000` in `example/syntax.wren` since they exceed 32-bit range, and bump libuv from v1.8.0 to v1.10.0 for 32-bit build fixes.
2016-10-09 08:18:27 +00:00
Bob Nystrom
4de5d75fc6 fix: install g++-multilib package for 32-bit C++ standard library support on Travis CI 2015-08-29 03:25:26 +00:00
Bob Nystrom
864210978b chore: switch travis to container-based infra and move apt deps to addons block
Replace manual apt-get install steps with declarative addons.apt.packages for gcc-multilib, and set sudo: false to enable container-based builds for faster CI execution.
2015-07-10 17:35:25 +00:00
Bob Nystrom
6396151732 fix: install gcc-multilib for 32-bit compilation support on 64-bit Travis CI VMs
Add before_install step to .travis.yml that updates apt packages and installs
gcc-multilib, enabling 32-bit C library headers and runtime for cross-compilation
in the CI environment.
2015-02-25 04:26:24 +00:00
Bob Nystrom
77148c2db6 chore: switch travis build script from make to make all for full configs 2015-02-25 03:32:46 +00:00
Bob Nystrom
6d1801603c feat: add Travis CI config and fail-exit in test script
Add .travis.yml with gcc and clang compilers running make && make test.
Modify script/test.py to call sys.exit(1) when any tests fail, ensuring
CI build correctly reports failure status.
2015-01-02 16:13:51 +00:00