Natalie Weizenbaum
5c3f550a05
Revert "Temporarily disable deploying to Chocolatey ( #960 )" ( #1128 )
...
This reverts commit 01ed720e9c
. Now that
google/dart_cli_pkg#56 has landed, Chocolatey deployment should work
again.
2020-10-28 15:47:31 -07:00
Natalie Weizenbaum
26ed30bc54
Avoid build breakages due to fibers and the latest Node ( #1126 )
2020-10-27 12:15:06 -07:00
Natalie Weizenbaum
ab834e955b
Revert "Re-enable formatter ( #1113 )" ( #1116 )
...
This reverts commit 5f9dff562d
. This is
failing again: https://travis-ci.org/github/sass/dart-sass/jobs/735581927
2020-10-14 13:18:55 -07:00
Jennifer Thakar
5f9dff562d
Re-enable formatter ( #1113 )
...
Checking to see if 2.10 did anything to help this
2020-10-12 15:41:36 -07:00
Natalie Weizenbaum
aab38fee53
Revert "Use Dart 2.9.3 for Node tests and releases ( #1105 )"
...
This reverts commit bdef3aced3
. It turns
out that Dart 2.10 was not the cause of #1104 .
2020-10-07 14:12:18 -07:00
Natalie Weizenbaum
bdef3aced3
Use Dart 2.9.3 for Node tests and releases ( #1105 )
...
This works around #1104 for the time being while we investigate the
root cause.
2020-10-06 17:42:21 -07:00
Jennifer Thakar
830bb3aab2
Move Node tests on Windows to Travis ( #1063 )
...
* Move Node tests on Windows to Travis
Appveyor is flaky and can't be restarted by all team members, so moving
everything to Travis is preferable if we can get it to work.
* Actually use latest stable Node
This should also workaround the issue with lts/* not working on
Windows.
* Use npm.cmd instead of raw npm on Windows
* Use p.prettyUri() for Node API tests
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2020-09-08 09:23:46 -07:00
Jennifer Thakar
9375ada8e6
Fix a selector parsing bug in indented syntax ( #1005 )
...
Fixes #1002 .
In the indented syntax, a selector list may continue onto another line
if the previous line ends with a comma. Previously, if there was a
comment after the comma, it wouldn't be recognized and the selector
would be broken in two (with the first selector having no properties).
This fixes the parser to ignore comments when looking for the comma at
the end of a line.
Also disables the formatting check to work around dart-lang/dart_style#940 .
2020-08-06 15:43:16 -07:00
Jennifer Thakar
3ad267479d
Release 1.26.6 ( #1015 )
...
This also updates Travis to build the standalone Windows release on an
actual Windows machine.
2020-05-28 14:10:15 -07:00
Jennifer Thakar
f233bccadf
Test on current Node LTS releases ( #1009 )
2020-05-26 12:02:31 -07:00
Natalie Weizenbaum
41c2dc327b
Update the Heroku token ( #988 )
...
The old value doesn't seem to be working anymore.
2020-05-13 12:48:22 -07:00
Natalie Weizenbaum
01ed720e9c
Temporarily disable deploying to Chocolatey ( #960 )
...
The cli_pkg Chocolatey deployment is still failing for unknown
reasons, and until I have time to debug it I want to get a full
release out.
2020-02-24 11:38:42 -08:00
Natalie Weizenbaum
c5daba6439
Don't load cli_pkg/testing on Node ( #959 )
...
This transitively loads dart:mirrors, which has stopped working as of
Dart 2.8.0-dev.9.0.
See dart-lang/sdk#40698
2020-02-19 22:42:33 -08:00
Natalie Weizenbaum
4f8f509584
Cut a release ( #958 )
...
* Use cli_pkg's updated Chocolatey support
* Stop running Node tests on the Dart dev channel for now
See dart-lang/test#1184
2020-02-19 13:42:56 -08:00
Natalie Weizenbaum
5450c1c07b
Use cli_pkg to build and release executables ( #924 )
2020-01-24 13:05:04 -08:00
Natalie Weizenbaum
33cb6aa499
Re-enable Node.js tests on Dart 2.8.0-dev ( #937 )
...
These should work now that dart-lang/sdk#40152 is fixed.
2020-01-21 14:34:19 -08:00
Natalie Weizenbaum
a148c5c366
Skip Node tests on Dart dev until dart-lang/sdk#40152 is fixed
...
We were still seeing errors when passing --use-old-rti, so we'll just
skip it entirely for now.
2020-01-15 13:57:38 -08:00
Natalie Weizenbaum
9ecd4c3a87
Run Windows tests on Dart stable again
2020-01-14 19:33:11 -08:00
Natalie Weizenbaum
f1410ffac1
Fix invalid YAML in .travis.yml ( #887 )
...
This also adds a test to verify that all YAML files are valid. Travis
won't run tests at all if its YAML is invalid, but this way Appveyor
can warn about broken Travis config and vice versa, and a local test
run will warn about either.
2019-11-19 14:27:20 -08:00
Natalie Weizenbaum
aac599947d
Run the GitHub Windows release on the latest Dart version ( #886 )
2019-11-18 17:33:56 -08:00
Natalie Weizenbaum
3ab40b0d6a
Run Chocolatey on the latest Dart version
...
See dart-lang/sdk#38334
2019-11-15 16:37:16 -08:00
Natalie Weizenbaum
bf67080c62
Use the latest dev channel Dart ( #850 )
...
As suggested by https://github.com/dart-lang/sdk/issues/38334#issuecomment-542861835
2019-11-05 13:50:30 -08:00
Natalie Weizenbaum
071c529772
Use nvm's "lts/*" alias for the latest stable Node ( #872 )
...
Follow-up from #859 . It turns out that nvm's "stable" alias is
deprecated, Node itself doesn't consider odd-numbered releases
"stable" in any real sense, and pertinently the fibers package doesn't
guarantee support for them. By only building on LTS releases we avoid
all these shenanigans.
2019-11-04 11:48:13 -08:00
Natalie Weizenbaum
3b36b5e638
Run against Node 12 rather than Node 13 ( #859 )
...
This works around laverdet/node-fibers#420
2019-10-23 00:01:51 +01:00
Natalie Weizenbaum
15ceafd272
Pin Windows builds to Dart 2.4
...
See dart-lang/sdk#38334
2019-09-11 12:52:02 -07:00
Natalie Weizenbaum
d9ebb5eff0
Fix Travis ( #809 )
...
Travis is using an older version of Ruby Gems which started having
trouble installing Bundler.
See rbenv/rbenv#1138
2019-08-30 13:46:17 -07:00
Natalie Weizenbaum
e8a50acf31
Build the Mac OS deployment on Mac OS ( #794 )
...
This allows it to build a native executable, rather than a script
snapshot. I don't know why we weren't doing this already.
2019-08-09 16:48:27 -07:00
Natalie Weizenbaum
c8ac543d1e
Re-add support for Node Carbon ( #785 )
...
Apparently npm and Yarn won't avoid installing a package version that
declares incompatibility with them, so dropping compatibility for an
old version is actually a breaking change 😭 .
2019-07-29 22:32:53 +01:00
Natalie Weizenbaum
d0f471ca9d
Drop support for Node 8.x
...
url.pathToFileURL, which wasn't supported until Node 10.x, is now used
in node_preamble.
2019-07-22 16:51:15 -07:00
Natalie Weizenbaum
48c284b4ef
Properly mark secure variables so they're decrypted by Travis ( #697 )
2019-05-31 17:01:33 +01:00
Natalie Weizenbaum
11e3749721
Merge pull request #709 from sass/analysis
...
Enable stricter analysis options, especially around typing
2019-05-31 17:01:13 +01:00
Natalie Weizenbaum
1340ba7b8a
Enable and fix (most) pedantic lints
2019-05-31 15:18:59 +01:00
Natalie Weizenbaum
58a525c435
Get npm and pub credentials from environment variables ( #694 )
...
Getting them from a file made the process of updating either set of
credentials convoluted and error-prone, and meant that if one needed
to be updated both had to be re-encrypted.
This also updates the pub credentials to accommodate the new scope, as
described in dart-lang/pub-dev#2281 .
2019-05-24 16:43:04 -07:00
Natalie Weizenbaum
2868ab328a
Remove an inaccurate comment
2019-05-13 15:54:08 -07:00
Natalie Weizenbaum
a950b2daaa
Add a Travis bot for running Node tests on Dart dev
2019-05-08 17:01:35 -07:00
Natalie Weizenbaum
f14b5cf9ba
Always print the Dart version on Travis
2019-05-08 17:00:48 -07:00
Natalie Weizenbaum
5fcd431a65
Don't skip Dart tests on Travis
2019-05-08 16:59:32 -07:00
Natalie Weizenbaum
2c33ed9103
Run Bazel deployment in Node.js mode ( #668 )
...
This is necessary to update the Bazel repo's lockfile.
2019-05-03 16:37:14 -07:00
Natalie Weizenbaum
aa917901b6
Fix YAML syntax errors ( #667 )
2019-05-03 14:06:19 -07:00
Natalie Weizenbaum
117b1b7f91
Add names to deploy steps
2019-05-03 13:12:38 -07:00
Natalie Weizenbaum
49c05623d9
Use Node.js when deploying to npm
...
Without this, we won't actually have npm installed.
2019-05-03 13:09:31 -07:00
Natalie Weizenbaum
75ec9241f0
Build standalone Mac OS releases on Mac OS bots ( #662 )
...
This will allow us to distribute application snapshots, rather than
script snapshots, for Mac OS.
2019-05-02 15:08:46 -07:00
Natalie Weizenbaum
2ca00e8828
Re-enable testing against Node stable ( #661 )
...
laverdet/node-fibers#409 has been fixed in Fibers 4.0.0.
2019-04-30 13:53:35 -07:00
Natalie Weizenbaum
8b03319c97
Run each type of test from its own script file
2019-04-25 11:51:50 -07:00
Natalie Weizenbaum
7bd0f422b9
Test Windows and OS X on Travis
2019-04-25 11:51:27 -07:00
Natalie Weizenbaum
c0f79c9fe2
Use Node 11.x rather than 12.x
...
This works around laverdet/node-fibers#409 .
2019-04-23 12:29:57 -07:00
Natalie Weizenbaum
867674433f
Rotate Node.js releases that we test against
2019-04-23 11:41:16 -07:00
Natalie Weizenbaum
9621979b71
Update the Heroku auth token ( #640 )
...
The old token appears to have been rendered invalid somehow.
2019-04-03 15:17:17 -07:00
Natalie Weizenbaum
3368e890cd
Add a grind script to sanity-check a release ( #563 )
...
Add a grind script to sanity-check a release
This will help avoid accidentally releasing dev versions 😖 .
2019-01-09 19:45:27 -05:00
Natalie Weizenbaum
dbda396401
Compile to JS with -O4 ( #555 )
...
Closes #526
2019-01-03 10:47:12 -08:00