Commit Graph

16 Commits

Author SHA1 Message Date
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